the-honk/school/gcse/year 9/python challenges/4 - Division.py

4 lines
181 B
Python
Raw Normal View History

2024-10-09 17:02:27 +00:00
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)