Challenge 1
Summary
- Instructions are executing until stop condition is
False
. - Counter in the stop condition is changing inside the loop. It can be decremented or incremented by some number.
Uppgift
Swipe to start coding
Understanding the stop condition is important. Change the given code to get such an output:
4
16
36
64
100
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 2
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 6.25
Challenge 1
Svep för att visa menyn
Summary
- Instructions are executing until stop condition is
False
. - Counter in the stop condition is changing inside the loop. It can be decremented or incremented by some number.
Uppgift
Swipe to start coding
Understanding the stop condition is important. Change the given code to get such an output:
4
16
36
64
100
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 6.25Avsnitt 1. Kapitel 2
single