Today’s Progress
- ex0: The setup
- ex1: A Good First Program
- ex2: Comments and Pound Characters
- ex3: Numbers and Math. You can do math with print commands! also get boolean responses
print("Roosters", 100 - 25 * 3 % 4)
>>> 97
print(3 + 2< 5 -7)
>>> False
- ex4: Variables and Names. Floating points (4.0) are just numbers with a decimal
- ex5: More Variables and Printing. The f means format and it’s there to tell python “Hey this string needs to be formatted”
name = input("What is your name? ")
print(f"Your name is {name}.")
Thoughts: Basic stuff so far. No surprises which is a good thing considering I have coded some python before.
Link to work: exercises 0-5