American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro to Python – Joshua

May 30 @ 6:00 pm - 7:00 pm

Today We Did

    1. Reviewed If, Else, and elif statements
      • Reminder end all if,else, and elif statements with  :    (the colon)
      • Reminder, else and elif statements need a if statement to work
    2.  ==, <,>,<=,>=  are used for comparisons
      1.   ==  and = are not the same.  Single = will assign variables data. Double = (==) are comparing if the two are the same
      2.  the string “1” and integer 1 are not the same when using ==
    3. and/or statements
      1. Remember when setting conditionals, put something on both sides even with and or or
        1. Try:  age> 18 or age< 5
        2. Not: age > 18 or < 5   (This will cause an error)
  1. Homework
    1. Page 84, 5-3, 5-4
    2. Number 3 only from https://www.ayclogic.com/list-inputs-if-and-else-loops-and-function/
  2. Upload your answer to google drive before next week Wednesday night.

If you have any questions feel free to email me jwidjanarko@ayclogic.com

Details

Date:
May 30
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights