parent
a7aabeaf49
commit
612dcbe15f
|
|
@ -4,7 +4,7 @@
|
|||
if 3/2 == 1: # Because Python 2 does not know maths
|
||||
input = raw_input # Python 2 compatibility
|
||||
|
||||
print('Welcome to this calculator!')
|
||||
print('Welcome to my bad calculator!')
|
||||
print('It can add, subtract, multiply and divide whole numbers from 0 to 50')
|
||||
num1 = int(input('Please choose your first number: '))
|
||||
sign = input('What do you want to do? +, -, /, or *: ')
|
||||
|
|
@ -20820,3 +20820,4 @@ if num1 == 50 and sign == '*' and num2 == 50:
|
|||
print("50*50 = 2500")
|
||||
|
||||
print("Thanks for using this calculator, goodbye :)")
|
||||
print(":)")
|
||||
|
|
|
|||
Loading…
Reference in New Issue