diff --git a/1/1.10 Lab Warm Up/warm_up/main.py b/1/1.10 Lab Warm Up/warm_up/main.py new file mode 100644 index 0000000..562ad05 --- /dev/null +++ b/1/1.10 Lab Warm Up/warm_up/main.py @@ -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))