Skip to content

Instantly share code, notes, and snippets.

View Red3nzo's full-sized avatar
🦀
Rusting

Red Red3nzo

🦀
Rusting
  • Me
  • Void
View GitHub Profile
@Red3nzo
Red3nzo / main.py
Last active January 30, 2021 01:15
Comp Sci
user_num = int(input('Enter interger:\n'))
sqaured = pow(user_num, 2)
cubed = pow(user_num, 3)
print('You entered: {}'.format(user_num))
print('{} sqaured is {}'.format(user_num, sqaured))
print('And {} cubed is {} !!'.format(user_num, cubed))
user_num2 = int(input('Enter another number:\n'))