Menu

Arrays (Lists) - Quiz

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

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

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

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

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic