Trying to debug code and failing miserably. Help? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Trying to debug code and failing miserably. Help?

Ok so I saw the tutorial for the calculator in the python course and I thought "I can do this but better" (That calculator can handle up to 2 number equations)* so I tried to create a calculator that can handle more than 2 numbers at a time. The code returns 'Time limit exceeded' when run so I was wondering if anyone could help. *E.g: 2+7 returns 9 but 2+5+2 would throw an error https://code.sololearn.com/cguLI8xvPQi6/?ref=app My code is kinda messy, apologies

26th Jun 2020, 9:08 AM
Will
1 Answer
26th Jun 2020, 10:53 AM
Rik Wittkopp
Rik Wittkopp - avatar