Ask your own question, for FREE!
Computer Science 20 Online
DogGirl27:

Assume the user types in 7 and 10. What is output by the following? num1 = input ("Enter a number: ") num2 = input ("Enter a number: ") print (num1 + num2) Group of answer choices 71 710 No output, there is an error. 17

Vocaloid:

In python, the input function stores it’s variables as strings. So what happens when you combine the *strings* 7 and 10 with a + sign? (Remember, these are strings not ints/floats)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!