Advertisement
WOLFERSER

Square and cc

Dec 4th, 2024
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. import math
  2.  
  3. num = int(input("Введите число:"))
  4. square = math.pow(num, 2)
  5. cc = math.pow(num, 3)
  6. print(f"Куб: {cc} Квадрат: {square}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement