Menu

Arrays (Lists) - Quiz

1. How do you create an empty list in Python?

Using empty curly braces {}
By writing 'empty'
With the list() function without arguments
Using empty square brackets []

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

extend()
push()
append()
add()

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic