NEW
Font size
WorksheetsLoop type quiz- Form
Total questions: 24
Worksheet time: 12mins
for x in range(2, 8):
print(x)
for loop with range
for loop in a loop
for loop with char
for loop with x
for num in range(10, 0, -2):
print(num)
for loop using while
for loop with range
for loop with numbers
for loop in a loop
for i in range(5):
print("Try #", i)
for loop with numbers
for loop with i
for loop with range
for loop with try
for char in "tiger":
print(char)
for loop using num
for loop in a loop
for loop with char
for loop with a string
word = "banana"
for letter in word:
print(letter.upper())
for loop with a variable
for loop using .upper
for loop with a string
for loop with banana
for c in "loop":
if c != "o":
print(c)
for loop
for loop with a string
for loop using not
for loop using char
items = ["apple", "banana", "carrot"]
for item in items:
print(item)
for loop with list
for loop with no list
for loop with fruit
for loop using items
for student in ["Amy", "Ben", "Cam"]:
print("Hi", student)
for loop using brackets
for loop using print
For loop with a list
for loop using strings
primes = [2, 3, 5, 7]
for p in primes:
print(p * p)
for loops using loops
for loops using math
for loops using list
for loops using brackets
x = 5
while x > 0:
print(x)
x -= 1
while loop using x
while loop using math
while loop
while loop using conditional
lives = 3
while lives:
print("Keep going!")
lives -= 1
while loop using forever
while loop using conditional
while loops using characters
while loop using numbers
num = 0
while num < 3:
print("Number:", num)
num += 1
while loops using characters
while loops using letters
while loops using math
while loop using conditional
while True:
print("Loading...")
while using quotes
while using forever loop
while using conditionals
while using characters
while True:
command = input()
if command == "stop":
break
while using break
while using stop
while using infinite loop
while using conditional
while True:
print("Beep!")
while using infinite loop
while using BEEP
while using characters
while while
for i in range(10):
if i == 4:
break
print(i)
for loop using numbers
for loop using only a range
while loop with a break
for loop with a break
x = 0
while True:
if x > 3:
break
print(x)
x += 1
for loop with no break
while loop with a break
for loop with a break
while and for loop break dancing
for letter in "hello":
if letter == "l":
break
print(letter)
for loop with a break
for loop with and if statement
for loop with letter
for loop with a string
for i in range(5):
if i == 2:
continue
print(i)
for loop with range and numbers
for loop with numbers
for loop that is forever
for loop with continue
x = 0
while x < 4:
x += 1
if x == 3:
continue
print(x)
for loop with operators
for loop while adding numbers
for loop with continue
for loop with math
for char in "looping":
if char == "o":
continue
print(char)
for loop with strings
for loop with letters
for loop by the foot
for loop with continue
for row in range(2):
for col in range(3):
print(row, col)
for loops using numbers
for loops using letters
nested loops
for loops using a table
for i in range(2):
for j in range(i, 3):
print(i + j)
for loop using letters
nested loops
for loops using i and j
for loop with numbers
for letter in "hi":
for num in range(3):
print(letter, num)
nested loop
while loop using range
for loop using range
for loop using letters and numbers
