« All Events
10 AM – Intro To Python – Indo – Gamas
December 3, 2022 @ 10:00 am - 11:00 am
Today We Did
- We reviewed the 1st quiz result.
- If you guys don’t receive my quiz feedbacks, please let me know. Ask your parents to text me.
Homework
- Create a new python file Dec3_ForLoopListHomework2.py
- Create a new variable, “cities” which is a List of String. Inside the list is the following Strings: Bandung, Jakarta, Los Angeles, New York and Moscow.
- Create a for loop that will go through each String inside the list and print the city name.
- If the city name is “Jakarta” print “Jakarta is a big city”. Or if the city is “Moscow” print “Moscow is a big city”.
- If you do your code properly, it should print the following
Bandung
Jakarta is a big city.
Los Angeles
New York
Moscow is a big city.