- 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

1st Sep 2021, 2:34 AM
CowsEatGrass
CowsEatGrass - avatar
2 Respostas
+ 1
Can you explain?
1st Sep 2021, 2:47 AM
Vtec Fan
Vtec Fan - avatar
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]))
1st Sep 2021, 12:03 PM
CowsEatGrass
CowsEatGrass - avatar