Lesson 2: Variables 1.0

posted Oct 13, 2017, 9:53 AM by Attila Lengyel
a = input("Give me a number:")
print("The number is", a)

bob = input("Give me an other:")
print("Second is ", bob)

cat = int(a) + int(bob)
print("The sum is:", cat)
Comments