Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- num = int(input("Введите число:"))
- square = math.pow(num, 2)
- cc = math.pow(num, 3)
- print(f"Куб: {cc} Квадрат: {square}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement