Tuesday, January 21, 2020

2.2 Casting

Part I: Lesson Slides and Lab on Type Conversion (Casting)

2.2 Lesson Slides on Casting


Casting is the process of changing the data type of a a variable.

Today we will learn to evaluate a Boolean expression. We will compose Boolean expressions using and, or, not, <, <=, >, >=, and ==.

Lab 2.2 - Casting

  • Create a new folder in your workspace called Unit2
  • Your file will be called LastName_FirstName_Lab2.2_Casting.py
  • Remember to turn in on canvas as a py file. 

Part II: Snakify Lesson and Practice



  • Read lesson 2 Theory, and run examples in it (~10 minutes):



Practice these problems onf repl:



Part III: Tonight's Reading





For those of you that want to read ahead, the link for the full book is below!










 Due Friday January 25, 2019 

  • Lab 2.2
  • Snakify Reading, 3 problems (last digit, fractional part, digit after decimal point)
  • Reading 2.1 

No comments:

Post a Comment

Blog information move to Google Doc

Hello All, Moving forward, please find all information about the class that you used to find on a live google doc agenda. The link is foun...