- This event has passed.
2:30 PM – Intro to Python – Isaac
June 25 @ 2:30 pm - 3:30 pm
Today, we
- Reviewed homework from yesterday
- Reviewed data types, operators, string concatenation, variable name rules
- Learned about checking for divisibility with % modulo
- Learned about converting a string to integer with int() and integer to string with str()
- Checking input with if/else (convert string input into an integer before using >=)
- Learned about lists (making lists, adding with append, replacing, removing with pop or del)
Homework
- (From last lesson) Try out code examples from pages 20-23 of the textbook (Textbook Link), and save it to a file called Jun_24_StringHomework.py.
- (From last lesson) Do #3 from List, Inputs, IF and ELSE, Loops and function, and save it to a file called Jun_24_IfElseHomework.py.
- Copy code from pages 38-41 of the textbook (start from “Adding Elements to a List”). Save it to a file called Jun_25_ListHomework.py.
- Try It Yourself 3-4, 3-5, 3-6 from pages 41-42 of the textbook. Save it to the same file as above.