0 10 20 30 40 50 60 70 80 90 100 151515 0

Welcome to type with code

Start typing or press to get going!

The python code you'll be racing to type out is all about:

Repeat Until loop

A repeat until loop will keep repeating until a condition is met.

This is known as a post-conditioned loop because the program checks if the condition has been met after the code in the loop runs. This means that the loop will always run at least once.

It is also an example of indefinite iteration because the loop could carry on forever if the condition is never met.

This example program keeps asking the user "Are we nearly there yet?" until they say "yes"

0 WPM
0%
0s
0%