American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro to Python – Joshua

August 8 @ 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).

Check Our last classes calendar for a more in-depth look at content: https://www.ayclogic.com/event/6-pm-intro-to-python-joshua-10/   

I want to reiterate that if you have questions email me a soon as you can.

Notes for quiz takers

  1. Test frequently and often. If there is an error, you can catch it before writing the rest of your code
  2. Remember your indents
    1. after for loops, while loops, if, else, and elif statements, you need an indent for any code afterwards that is within those statements
    2. don’t accidently write your else statements outside your fo
  3. strings and f”strings
    1. after print statements, there is no space, only the ()
    2. remember to structure your fstrings – >  f”your_word_here {variable}”
  1. input() always return strings
    1. “6”  is not the same as 6, use int() to transform your input
    2. “WORD” and “word” are not the same, transform your input with .lower(), .upper(), .title()
    3. This also applies to comparisons, make sure you use the right data type
  2. for >=  and <=, the arrow goes first
  3.  when comparing two things with  ==, variable types matter
    1.  don’t do   if name == word  if your comparing strings
    2. do            if name == “word” if your comparing string
 Homework (If you haven’t done it yet)
  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:
August 8
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights