Create a list called rewards with these items:sticker, pencil, badge, candy, bookmark.
Print the list.
Add toy car and coloring book to the end of the list.
Print the updated list.
Print the first, third, and last items in the list using index positions.
The teacher decides the last reward should not be there.
Remove the last item using pop() and print the list.
Remove the reward at index position 2.
Print the updated list.
Count how many rewards are currently in the box using len() and print the total.
Insert keychain at index position 1.
Print the list.
Insert small ball at index position 3.
Print the list.
Replace the item at index position 0 with super sticker.
Print the updated list.
Print the highest alphabetically reward using max() on the 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!
