Skip Navigation or Skip to Content

Foundations of Programming (Python) Labs

LAB 02-B: Using the type() function

  1. Create a script using this code:
    script LAB02_B
  2. Verify that the script prints:
    <class 'int'>
    <class 'float'>
    <class 'str'>
    <class 'bool'>

Back to self guided, Video only Materials

Back to self guided, Video plus Written Materials

Back to guided, Video plus Written Materials plus Personal Guidance, Feedback, and Support (class setting)