OpenBrackets
Intermediate Python
Week 1 Day 2
Welcome!
Welcome to class!
This is the Intermediate Python Programming class.
Today this will be our schedule:
Asking Questions
Type in chat
Or
How are you doing?
1 2 3 4 5 6 7 8 9 10
More Variable Types, Type Conversion
Variable Conversions
Variable Types Exercises
print(2 + 3)
print("2" + 3)
print("2" + "3")
print(int("2") + int("3"))
print(str(2) + int("3"))
print(2 * 3)
print("2" * 3)
print("2" * "3")
print(int("2") * int("3"))
print(str(2) * int("3"))
Other Variable Types: float
Other Variable Types: bool
10 minute break!
Conditionals, Loops, Lists
Conditionals
Exercise: write a program that asks for a number.�Then check if the number is less than 8 or not.�If it is, print "This number is less than 8".�Otherwise, print "This number is greater than or equal to 8".
For Loops
While Loops
When you need help outside class
Email contact@openbrackets.us with your class name, teacher, and question
If you are age 13 or older, you can try Discord
The age restriction is because of Discord’s Terms of Service
Thanks for coming to class!
Please let us know if you have any questions!