Tuples
Lists
For Loops
Functions
100

What symbol do you use to declare tuples?

()

100

How do you declare a list?

[]
100

How can you run through each element of a data structure?

for variable in my_datastructure:


100

How do you change a string to a list?

list()

200

What is one instance where you can change the elements of a tuple?

When a mutable data type is in it.

200

What is one instance where you cannot change the elements of a list?

When an immutable data type is in it.

200

How do you terminate a for loop?

break

200

How do you use join()?

character_you_split_by.join(list_you_are_converting)

300

What is one thing you cannot do to a tuple?

Change its elements.

300

What does the term homogenous mean in relation to lists?

Lists usually contain data of the same type.
300

How do you go to the beginnig of a for loop?

continue

300

How do you make a string uppercase?

string.upper()

400

How can you change a tuple's elements?

Rewrite it with different elements.

400

How specifically can you change an element of a list?

my_list[index] = element

400

How would you count the elements in a data structure with a for loop?

count = 0

for character in data_structure:

     count += 1

print(count)

400

How do you make a string lowercase?

string.lower()

500

Create an empty tuple with the number 5.

(5,)

500

What does heterogenous mean in relation to lists?

Lists can contain data of different types.
500

How do you use two variables as your increment in a for loop?

enumerate()

500

How do you use a program to see if a letter is uppercase without using .isupper()?

if letter != letter.lower():

       print("It is uppercase.")