What We Did Today:
- Reviewed variables, data types, if statements, how to get input from the shell, how to compare (<=, >=, ==, <, >), and typecasting (converting data types from one into another)
- Learnt about lists, how to store multiple variables, and do things like adding, removing, and accessing.
Homework:
Submit the files into the google drive: https://drive.google.com/drive/folders/1H8go-vwBIyC-4UklydoV1wFtTDM6Nr4v?usp=sharing when you are finished!
Create a new file called Mar19_Lists_HW1.py:
- Copy the code from the textbook (depending on your book edition):
2nd edition: Page 38 to 41: access, modify, append, remove
3rd edition: Page 37 to 41 (do not do the “Try It Yourself”)
Notes:
You can reach me at ddjapri@ayclogic.com for any questions.
Class notes: https://drive.google.com/drive/folders/1JIaswYI_MssVSv7icxgYPd_LblYQvOVO?usp=sharing