python-by-example-150-chall.../challenges1-11/challenage-004.py

6 lines
321 B
Python
Raw Normal View History

2025-05-24 08:27:55 +08:00
#number_1 = int(input('Calculate two numbers\nplease, enter 1st. number : '))
#number_2 = int(input('please, enter 2st. number : '))
number_1 = float(input('Calculate two numbers\nplease, enter 1st. number : '))
number_2 = float(input('please, enter 2st. number : '))
2019-07-17 14:56:46 +08:00
print('the result is {0}'.format(number_1+number_2))