American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

5 PM – Intro To Python

August 29, 2020 @ 5:00 pm - 6:00 pm

  1. We reviewed what’s going to be in the quiz 2 weeks from today:
    1. variables and data types
    2. IF ELIF ELSE statements
    3. List
    4. For loop, while loop
    5. How to continuously ask user a question and stop the program when user enter “quit” or “exit”.
    6. How to get input from shell.
  2. By the way in the class earlier, I could not finish this problem
    1. Loop through each element inside the “names” list
    2. if it is either “shawn” or “logan”, print “<name> is very cool”. Otherwise just print the name with first letter capitalize.
    3. names = ["justin", "brian", "logan", "shawn"]
      for name in names:
          if name in ("shawn", "logan"):
              print(f"{name.title()} is very cool")
          else:
              print(name.title())
  3. Next week is labor day weekend so no class next week.
  4. Homework:
    1. Study for your quiz which is going to be on Sept 12.
    2. For your quiz, make sure you have a gmail account.

Details

Date:
August 29, 2020
Time:
5:00 pm - 6:00 pm
Event Categories:
,