- 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
- Test frequently and often. If there is an error, you can catch it before writing the rest of your code
- Remember your indents
- after for loops, while loops, if, else, and elif statements, you need an indent for any code afterwards that is within those statements
- don’t accidently write your else statements outside your fo
- strings and f”strings
- after print statements, there is no space, only the ()
- remember to structure your fstrings – > f”your_word_here {variable}”
- input() always return strings
- “6” is not the same as 6, use int() to transform your input
- “WORD” and “word” are not the same, transform your input with .lower(), .upper(), .title()
- This also applies to comparisons, make sure you use the right data type
- for >= and <=, the arrow goes first
- when comparing two things with ==, variable types matter
- don’t do if name == word if your comparing strings
- do if name == “word” if your comparing string
Homework (If you haven’t done it yet)
- Create a file and name it July_25_ReviewHW.py and do all ten problems https://www.ayclogic.com/intro-to-python-exercises/
- Upload your answer to google drive before next week Wednesday night.
If you have any questions feel free to email me jwidjanarko@ayclogic.com