Saravji's Hut

Logo

The place where change happens.

Project on GitHub Saravji/saravjis_hut

Saravji's Hut YouTube channel

Saravji on Twitter

Foundations of Programming (Python)

LAB 02-B: Using the type() function

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

Back to Modules Materials Lists