29th Dec 2018, 2:56 PM
Alert
10 Answers
+ 3
There’s no error in your code. Are you using new lines to separate your inputs? For example: 1 2 # Output: 3
29th Dec 2018, 3:02 PM
Diego
Diego - avatar
+ 2
What kind of error are you getting?
29th Dec 2018, 3:10 PM
Diego
Diego - avatar
+ 2
You may use string.replace(" ", "") to get rid of all spaces.
29th Dec 2018, 3:44 PM
Seb TheS
Seb TheS - avatar
+ 1
Yes I did that but still is error
29th Dec 2018, 3:08 PM
Alert
+ 1
Diego. Invalid literal for int () with base 10:
29th Dec 2018, 3:15 PM
Alert
+ 1
Make sure there are no blank spaces or new lines between your inputs.
29th Dec 2018, 3:22 PM
Diego
Diego - avatar
+ 1
Hope to see more of you in the future. Happy coding!
29th Dec 2018, 3:26 PM
Diego
Diego - avatar
+ 1
Thanks for hint Seb TheS
29th Dec 2018, 5:14 PM
Alert
0
Thanks guys you are welcome
29th Dec 2018, 3:25 PM
Alert
0
Probably I will in Q&A many times with my errors.
29th Dec 2018, 3:29 PM
Alert