4.1 Fill in the blank


#1

My code works on Repl.it except that the last line comes out as None:
number1 = int(input (“Enter the first number:”))
number2 = int(input (“Enter the second number:”))
the_sum = print (number1 + number2)
print(the_sum)


#2

When you establish that “the_sum” is the sum of the two numbers, you don’t have to print. You can wait until the next line, which should achieve this nicely.


#3

Fantastic! Thank you!