- 1
Working with input...
I have to "Fill in the blanks to produce a valid code, which takes the values of the x and y variables from the input and outputs their sum." x = int(____()) y = _____(input()) print(x+_____) I am very confused and do not understand. I know the last line is print(x+y) but I don't know about the first two.
1 Answer
+ 2
SoloProg
Thanks man! I'm just trying to understand what it means.
If I'm correct then x/y = an integer of whatever number is put in as opposed to a float, so it's a round number instead of a decimal, then it adds the two inputs and gives you the sum right?