Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 5
Please tell my error in my code
2 Antworten
+ 5
Line 8: change n >= a - 1 to n <= a - 1
There's also something wrong with your use of curly braces. I don't think lines 13-17 are supposed to be part of the for loop?
+ 4
Thanks Anna