+ 3

Loop issues

I’ve tried many, many things this morning, and the best I could do was get my mult() function to run twice. From what I can tell I’m stuck at if signcheck(ops[o],ready): being always true. I’m trying to get my script to take an input like (2*5/2)(10-5*3) and get 5, -5. Thanks in advance! I even left another attempt in the comments. I thought maybe it was having trouble with more than one if statement being true. https://code.sololearn.com/cZxV3FXDA1rI/?ref=app

3rd Nov 2020, 5:44 PM
Nate Toon
Nate Toon - avatar
2 Réponses
+ 1
https://code.sololearn.com/chyWYrDpN9Zd/?ref=app
4th Nov 2020, 5:23 AM
Kelvin Paul
Kelvin Paul - avatar
0
Kelvin Paul Thanks for an easy solution to my project, but it doesn’t help me to understand the problem with my code. I like to know and understand my issues for the next time they come up.
4th Nov 2020, 7:44 AM
Nate Toon
Nate Toon - avatar