NEW
Font size
WorksheetsGuided Note 5.3 For Loop and List
Total questions: 10
Worksheet time: 6mins
For loops are also really helpful when combined with other ____ ______ such as lists.
data types
variables
while
In the video in KIRA 5.3 Section, Jagriti was using a list of different circle ____ values.
radius
diameter
area
circumference
In the video in KIRA 5.3 Section, Jagriti changed the radius variable in the for loop to ____.
increase
decrease
iterate
reset
For loops can be used to print the items in the list and the item ____ as well.
index
value
type
length
‘i’ is the iterator and the ___ of list items.
index
value
type
length
The enumerate function takes the list as the ______ and returns tuples containing the ___ and the ____ at that index.
input, index, value
output, value, index
input, value, index
output, index, value
The range function gave us the ____ of the list and not the value.
index
length
type
position
In the loop - for (i, items) enumerate(colors): i is the ____ position.
current
previous
next
last
In the for loop, for char in password:, char represents each _______ in a string.
character
word
sentence
number
word= "computer"
for num in range(1,6):
print(word)
