Create a list called items with these values:book, pencil, eraser, ruler.
Print the list.
Add crayons and notebook to the end of the list.
Print the updated list.
Print the second item in the backpack using its index position.
Print the item at index position 3 and index position 5.
Remove the last item in the list using pop().
Print the list.
Remove the last item again using pop().
Print the list.
Remove the item at index position 1.
Print the updated list.
Count how many items are left in the backpack using len() and print the total.
Insert lunchbox at index position 1.
Print the list.
Insert water bottle at index position 2.
Print the final list.
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!
