Simple calculator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Simple calculator

https://www.sololearn.com/discuss/2606763/?ref=app Can someone help me create a simple calculator because when I convert the strings to integers before adding they still come out as strings

30th Nov 2020, 10:49 AM
Felix Notter
7 Answers
+ 3
x = input(6) y = input(3) felix = int(x) + int(y) print(felix) this is my code any problems?
30th Nov 2020, 10:51 AM
Felix Notter
+ 1
x = input() y = input() felix = int(x) + int(y) print(felix)
14th Aug 2021, 2:43 AM
Aaron Hannah
0
alright but when I solve for the first test case i automatically get the second wrong without even typing a code for it
30th Nov 2020, 12:13 PM
Felix Notter
0
thank you guys so much i completed the task 👍🏾
30th Nov 2020, 12:19 PM
Felix Notter
0
Please attach your code in the question and don’t advertise others thread https://code.sololearn.com/WRY45gFZlJTr/?ref=app
1st Dec 2020, 4:54 AM
Shifu
Shifu - avatar
0
alright thank you
1st Dec 2020, 5:32 PM
Felix Notter
0
Already I slove first test completed,but automatically 2nd text will wrong how can I over come this problem . please help me
21st Jul 2021, 7:05 PM
Akhil Bezawada
Akhil Bezawada - avatar