What We Did Today:
- Got introduced to the world of Python, learning concepts such as variables and data types in Thonny.
- Learnt about conditionals, how to compare things in a programming language.
- Learnt how to get input from the shell (from typing into our computer).
- Learnt about type casting (converting from one type to another type.
Homework:
Create two files in Thonny as shown:
- June4_StringHomework.py – pages 20-23 from the book.
Note: in the book sometimes they use “>>>” and this just means that the words that come below the line with >>> is the output of the program. - June4_IFELSE_HW.py – Pages 79-81 from the textbook.