Hangman 4 – How to run code multiple times

0%

What is a string in Python?

Correct! Wrong!

What is the output of the following code snippet: print("2+2")

Correct! Wrong!

Your program prints a string to the shell. What does this mean?

Correct! Wrong!

What is the best way to print the same text 100 times

Correct! Wrong!

What does the statement i=0 do?

Correct! Wrong!

The Python program ...

Correct! Wrong!

How long does the "while loop" repeat the code in the loop body?

Correct! Wrong!

What does the statement i = i + 1 do?

Correct! Wrong!

What happens if the while condition is not fulfilled anymore?

Correct! Wrong!

Leave a comment