Question
1. Use the brain .screen.next row()command, along with a for loop to write "Hello" on your screen 10 times . Copy and paste your finished code here. (TE XT ONLY)
Solution
4.7
(172 Votos)
Gustavo
Profissional · Tutor por 6 anos
Resposta
Here is an example code that uses the `brain.screen.next_row()` command along with a for loop to write "Hello" on the screen 10 times:```for i in range(10): brain.screen.next_row() brain.screen.print("Hello")```This code will create a loop that iterates 10 times, and each time it will move the cursor to the next row using the `next_row()` command and then print the string "Hello" on the screen.