10 lines
252 B
Python
10 lines
252 B
Python
# This program reads two numbers and prints their sum:
|
|
a = int(input('Enter first number: '))
|
|
b = int(input('Enter second number: '))
|
|
c = int(input('Enter third number: '))
|
|
|
|
print(a + b + c)
|
|
|
|
# Can you change it so it can read and sum three numbers?
|
|
|
|
|