Skip to content

Latest commit

 

History

History
 
 

unit-05-input-types

Unit 05

Repo Root
Lesson Slides
Exercises
Exercises (solutions)
Review Slides
Review Exercises
Review Exercises (solutions)

Input, Data Type Conversion, Type Check

Concepts & Objectives

  1. Getting input from user
  2. Data type conversion
  3. Type checks

Key Terminology

  • Integer - whole number
  • Float - fractional/decimal number
  • Boolean - True/False
  • Character - single letter, number, punctuation, symbol, etc
  • String - Multiple characters.
    • Examples: words, sentences, password
  • Built-in Python Functionality
    • input() - Function for accepting user input
    • int() - Convert to an integer data type
    • float() - Convert to a float data type
    • bool() - Convert to a boolean data type
    • str() - Convert to a string data type
    • type() - Function for checking the type of data

Lesson

Start of Class

  1. Log into WiFi network.
  2. CTRL + ALT + T to open terminal.
  3. cd ~/tech-mentorship-2425 (remember to press TAB to autocomplete)
  4. git stash
  5. gh repo sync
  6. jupyter lab

End of Class

  1. git stash