← Back to Programming

Python projects quiz

Five questions on Python projects. Answer all 5 to see your score. Questions are drawn from a bank of 15, so every attempt is different.

0 of 5 answered

Question 1 of 5

If letters = ["a", "b", "c"], letters[-1] is:

Question 2 of 5

Which method adds an item to the end of a list?

Question 3 of 5

[n * 2 for n in range(3)] produces:

Question 4 of 5

A tuple differs from a list because a tuple is:

Question 5 of 5

set([1, 1, 2, 3, 3]) gives:

Back to all units