- 1
Wasn't very nice of them to up and change the rules from input(a \n b) to input (a) \n input(b)
Simple Calculator
2 ответов
+ 1
Can you explain?
0
Every other example asked us to separate values by putting each value on a new line.
So I was expecting something like this:
userInput=Input (6
3)
userInputArray=userInput.split()
Print(int(userInputArray[0]) + int(userInputArray [1]))