American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

1:30 PM – Intro to Python – Isaac

June 13 @ 1:30 pm - 3:30 pm

Today, we learned
  1. Data types (integer, double/float, string, boolean)
  2. String formatting (concatenation or f-strings)
  3. Variable name rules
  4. Changing data types with str() and int()
  5. Math operations (+, -, *, /, %)
    1. Modulo is remainder
  6. String quote types (“, ‘, “””, ”’)
  7. Escape sequences (\n, \”)
  8. Getting input from the user with input()
    1. Input is always a string
  9. if elif else
Homework
  1. Try code from pages 20-23 in the textbook. Save it in Jun_13_StringHomework.py
  2. Try code from pages 79-81 in the textbook. Save it in Jun_13_IfElse.py
  3. Note: Code starting with >>> is done in the shell, but you should put it in your file.

Details

Date:
June 13
Time:
1:30 pm - 3:30 pm