Challenge: Working with the While Loop
Compito
Swipe to start coding
-
Create a variable named
iand set it to1. -
Begin a
whileloop that runs for numbers from1to9(inclusive). Inside the loop, do the following:- Print the square of
i; - Increment
iby1.
- Print the square of
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 5. Capitolo 2
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 1.64
Challenge: Working with the While Loop
Scorri per mostrare il menu
Compito
Swipe to start coding
-
Create a variable named
iand set it to1. -
Begin a
whileloop that runs for numbers from1to9(inclusive). Inside the loop, do the following:- Print the square of
i; - Increment
iby1.
- Print the square of
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 5. Capitolo 2
single