The method used to add a new item to the end of a list is ___________________.
Look at the list:
fruits = ['apple','banana','water melon','pineapple']
What will this print?
print(fruits[0])
Answer: ___________________
The index position in a list always starts from number ___________________.
The method used to remove the last item from a list is ___________________.
Look at this list:
fruits = ['apple','banana','mango']
Write the statement to insert ‘cherry’ at index position 1.
Answer: ___________________________________________
The function used to count the number of items in a list is ___________________.
What will be printed?
print('a' + 'b' + 'c')
Answer: ___________________
When we use + to join two strings together, it is called ___________________.
Look at this list:
friends = ['jason','mary','janet','jason','mary']
What data collection can we use to remove duplicate names automatically?
Answer: ___________________
What is the purpose of a try and except statement in Python?
Answer: _______________________
We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!
