Question : W3Schools Var-Coll-G 27

1️⃣ Fill in the Gap

A list is ___________________, changeable, and allows duplicate values.


2️⃣ Fill in the Gap

The function used to find the biggest number in a list is ___________________.


3️⃣ Fill in the Gap

The function used to count how many items are inside a list is ___________________.


4️⃣ Short Answer

What will be printed?

numbers = [2, 5, 8, 10, 0]
print(numbers[2])

Answer: ___________________


5️⃣ Fill in the Gap

The method used to remove the last item in a list is ___________________.


6️⃣ Short Answer

Look at the list below:

friends = ['Ire', 'Harmony', 'Mishael']

Write the code statement that changes ‘Harmony’ to ‘Mary’.

Answer: ___________________________________________


7️⃣ Fill in the Gap

A ___________________ does not allow duplicate values.


8️⃣ Short Answer

What will be the result?

print(max(7, 12, 20))

Answer: ___________________


9️⃣ Fill in the Gap

The method used to arrange a list in order from smallest to biggest is ___________________.


🔟 Short Answer

Look at the dictionary below:

price = {'pencil':20, 'book':50, 'eraser':60}

Write the statement to print the price of book.

Answer: ___________________________________________

Write what you are looking for, and press enter to begin your search!