American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro to Python – Joshua

July 25 @ 6:00 pm - 7:00 pm

Today We Did – Review Day Part 1

The quiz is coming soon, so I feel that it is important to review some of the topics (Make sure to do the homework)

Topics to cover

  1. Notes to Review Homework
    1. f”strings” and string methods
      1. To put variables within f”strings” remember to use {}
      2.  when creating a new line with \n, don’t put a space
        1. Ex. f”I like pie.\nPie tastes good.”
      3.   .lower(), .upper(), .title(), .capitalize()
    2. Variable Types
      1. what is considered an int, string,boolean,  list, etc and how to create one
    3. If,elif,else
      1. remember to indent and the colon
      2. Remember to use ==,>,<,<=,>=
      3. “and” or “or” for checking multiple conditions at once
    4.  For loops and range (list navigation)
      1. how to write a simple for loop (Ex. for <variable> in <list_name>:)
      2. range() creates a list of numbers that you can use in your for loops
        1. range(int) will create a list starting from zero that is as long as the int
        2. range(int,int) will create a list starting from the first number and ending 1 before the second
    5. Inputs (Asking for a response for the user()
      1. input_value =input(prompt)
    6. While loops
      1. while loops can repeat code, but you need either a conditional or a break to end it
 Homework
  1. Create a file and name it July_25_ReviewHW.py and do all ten problems https://www.ayclogic.com/intro-to-python-exercises/
  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:
July 25
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights