Решения на первый блок

This commit is contained in:
2026-06-11 13:18:11 +03:00
parent f926e06204
commit 9b42a51257
12 changed files with 280 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
x = int(input('Enter x: '))
y = int(input('Enter y: '))
sum = x + y
sub = x - y
mult = x * y
div = x / y
pow = x**y
sqrt = x ** (1/y)
print(f'''
Results:
-----------------------
sum: \t {sum}
sub: \t {sub}
mult: \t {mult}
div: \t {div}
pow: \t {pow}
sqrt: \t {sqrt}
-----------------------
''')