How do we do the calculator assignment in python 3 course , i don't get it if we have to make separate files for each test case? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do we do the calculator assignment in python 3 course , i don't get it if we have to make separate files for each test case?

13th Nov 2020, 4:14 PM
richa choudhary
richa choudhary - avatar
4 Answers
+ 2
Tap on that simple calculator and read the problem and try to solve it in code tab swipe right to acces it. after writing code run it and check is it works? if all cases are True then you will win else not the problem is simple you have take two number as inputs and return the sum of it... isn't it simple ? just try to do if you are stuck then please tell us we will help you! Happy coding!
13th Nov 2020, 4:27 PM
Ratnapal Shende
Ratnapal Shende - avatar
+ 1
what you mean one file richa choudhary ?
13th Nov 2020, 4:53 PM
Ratnapal Shende
Ratnapal Shende - avatar
0
I did but the thing is we cannot solve all test cases in one file
13th Nov 2020, 4:46 PM
richa choudhary
richa choudhary - avatar
0
Means there are different test cases, only one we can write at a time we cannot execute all together it gives wrong output
13th Nov 2020, 4:55 PM
richa choudhary
richa choudhary - avatar