American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

2:30 PM – Intro to Python – Isaac

June 25 @ 2:30 pm - 3:30 pm

Today, we
  1. Reviewed homework from yesterday
  2. Reviewed data types, operators, string concatenation, variable name rules
  3. Learned about checking for divisibility with % modulo
  4. Learned about converting a string to integer with int() and integer to string with str()
    1. Checking input with if/else (convert string input into an integer before using >=)
  5. Learned about lists (making lists, adding with append, replacing, removing with pop or del)
Homework
  1. (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.
  2. (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.
  3. 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.
  4. Try It Yourself 3-4, 3-5, 3-6 from pages 41-42 of the textbook. Save it to the same file as above.

Details

Date:
June 25
Time:
2:30 pm - 3:30 pm