- Which operating systems is Thonny available for?
A. Linux (Raspbian), macOS and Windows
- How do we enter Python 2 from the Terminal command line?
A. By typing in the command python.
- Which tool in Thonny do we use to view what is inside an object?
A. Object inspector
- Give two reasons why we use an object in our weather example code?
A. Keeps the code clean and prepares us for using classes later on.
- What is the advantage of adding a method called the getCity to CurrentWeather class?
A. We are able to create classes with more generic names.
- What language is IDLE written in?
A. Python
- What are the two steps taken in order to print the current date and time?
A. Import datetime from datetime, print datetime.now().
- How did we compensate in our code for wind speed directions that are represented by only one letter?
A. By setting the wind_dir_str_len...