0

My code keeps popping an error claiming invalid syntax on line three, specifically pointing to the number 100 What is the issue?

https://code.sololearn.com/c2gZb37616jg/?ref=app

12th Jun 2020, 11:23 AM
Randy Ziegler
Randy Ziegler - avatar
4 Respuestas
+ 1
Add this at the end of the line ":" It should be while straws<=100:
12th Jun 2020, 11:30 AM
Slick
Slick - avatar
+ 1
Thank you so much! 😁
12th Jun 2020, 11:32 AM
Randy Ziegler
Randy Ziegler - avatar
+ 1
You have the same problem on the 2nd while loop. Plus the operator is mixed up it should be >= not =>
12th Jun 2020, 11:32 AM
Slick
Slick - avatar
+ 1
Everything is fixed, thanks!
12th Jun 2020, 11:35 AM
Randy Ziegler
Randy Ziegler - avatar