4.1 Last Questions

Help! I am stuck on the last question in 4.1. I am not sure what I am missing.
Can someone please help!

number1=int(("1: "))
number2=(input("2: "))
the_sum = (number1+number2)

Correct input syntax is, something like:

value1 = int(input("Please enter a number: "))

Both the int and input elements have to be there for both, as you are 1. asking for an input, which is always a string, and 2. converting that input to an integer

1 Like