« All Events
2 PM – Intro To Python – Latisha
October 9, 2021 @ 2:00 pm - 3:00 pm
Today We Do
- All python files have been uploaded into google drive: https://drive.google.com/drive/u/0/folders/1M7HsIvSLN0w8r3pbgf9I7rJT4pN2lknL
- We went over python exercises from https://indo.ayclogic.com/list-inputs-if-and-else-loops-and-function/ only number 1 and 2
Homework
- Please create a new python file in your thonny OCT9_ListLoopIfElseHomework.py
- Do exercises from page 25, TRY IT YOURSELF number 2-3, 2-4 . If you don’t know how to do this, please look at example on page 20, 21.
- Create a new list, “famous_people”, and this list should contains “Abraham Lincoln”, “George Washington”, “Albert Einstein”. After you create this list, add one more person, “Ben Carson” to the list using append . Look at examples in page 37 or 38 if you don’t understand how to do this.
- Do exercises from number 1 to 3 https://indo.ayclogic.com/list-inputs-if-and-else-loops-and-function/ try not to look at answer key.
- Write a code that would get an input from shell “What is your name: “. After you get an input from shell, combine with “Hi <name>, welcome to AYCLOGIC.”. If you don’t know how to do this, look at example in page 114 or 115. If you do it correctly, it should be like below:
-
What is your name: Gamas
Hi Gamas, welcome to AYCLOGIC.