0

Whats the problem with my code i try to learn loops but apperently i suck at it lol

https://sololearn.com/compiler-playground/c9UM2ni6e678/?ref=app

3rd May 2024, 10:32 PM
Mirco Michel
Mirco Michel - avatar
3 Respuestas
+ 3
1. You forgot ")" closing parenthesis at the end of the print statement. 2. The addition assignment is written like "+=" not "=+" Mirco Michel
3rd May 2024, 11:14 PM
Aqib Javid Bhat
Aqib Javid Bhat - avatar
+ 2
1 more issue, Replace inout with input.
4th May 2024, 3:19 AM
Chris Coder
Chris Coder - avatar
0
Dont forget to update line 13 to complete the code and stop the execution time out. You need to make sure you have the += in the correct order Reasoning: writing += order: monat += 1 is the same as saying: monat = monat + 1 This makes sense because you are adding +1 to the monat amount each loop writing =+ order : monat =+ 1 is the same as saying: monat = +1 Which is the way you wrote it originally, only says that monat IS +1, not that you are adding +1 to monat
9th May 2024, 3:42 PM
Heather Ambrosio
Heather Ambrosio - avatar