the-honk/school/gcse/year 9/python challenges/4 - Division.py
2021-12-21 19:46:28 +00:00

4 lines
No EOL
181 B
Python

num1 = int(input('Input your first number.'))
num2 = int(input('Input your second number.'))
answer = str(num1 / num2)
print(str(num1) + ' divided by ' + str(num2) + ' = ' + answer)