« All Events
10 AM – Indo – Intro To Python – Gamas
September 3, 2022 @ 10:00 am - 11:00 am
Today We Did
- We went over the String homework2 today.
- We reviewed String, Integer data types.
- We introduced Float data types.
- We reviewed .strip(), .rstrip(), .lstrip() String functions.
- We reviewed \t and \n
Homework
- Create Sept03_IfElseHomework.py
- Identify what is the name of the variable, the value and the data types of these variables below. Just put a comment (#) for each line the name, value and data type. For example do something like this
-
x = 10 # name is "x", value is 10, data type Integer
-
first_name = "Matthew"
price_of_a_book = 9.99
number = -30
number_2 = "20"
number_3 = 2.0
- Copy codes from page 79 to 81 into the homework files and run them. Try to understand the result of the program.