« All Events
10 PM – Intro To Python – Private – Gamas
December 2, 2022 @ 10:00 pm - 11:00 pm
Homework
- Create Dec12_Private_ListHomework.py.
- Copy codes from page 37 to 38.
- Create a list of monsters: “dragon”, “phoenix”, “minotaur”, “hydra”
- using the list print “DRAGON is a powerful monster”. Get the first element of the list and combine with ” is a powerful monster” String.
- using the list print “Hydra is a monster with many heads”. Get the last element of the list and combine with ” is a monster with many heads” String.
- Add one more element to the list: “Unicorn”. Look at page 37 if you don’t know how to add one more element to the List.
- Create Dec12_Private_ListForLoopHomework.py
- Copy codes from page 51 and 52 and 72