Merge Week 1 #1

Merged
Kenwood merged 10 commits from week-1 into master 2021-01-08 21:14:34 -05:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 8e5f9597bc - Show all commits

View File

@ -0,0 +1,9 @@
if __name__ == '__main__':
num1 = int(input('Enter integer:\n'))
print('You entered: {0}'.format(num1))
print('{0} squared is {1}'.format(num1, num1 ** 2))
print('And {0} cubed is {1} !!'.format(num1, num1 ** 3))
num2 = int(input('Enter another integer:\n'))
print('{0} + {1} is {2}'.format(num1, num2, num1 + num2))
print('{0} * {1} is {2}'.format(num1, num2, num1 * num2))