While loopiness
while True:
print("Hello!")
print("Goodbye.")
Email address *
If the keyword 'True' was changed to 'False' in the code above, what would be printed to the console?
1 point
Clear selection
Does this program always output the same text every time it is run?
1 point
Clear selection
The main purpose of a while loop is...
1 point
Clear selection
When the code above is run, which statement is ever printed to the console?
1 point
Clear selection
If the keyword 'True' was changed to 'False', how many times would the program above print to the console?
1 point
Clear selection
Any literal, variable, expression, or function call following the keyword 'while' in Python code must be of the type...
1 point
How many times does the program above print to the console?
1 point
Clear selection
Next
This form was created inside of New York University.