1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Python for Finance

Connected

Exercise

Determining types

Python has a built-in command type() that can determine the type of a variable or literal value. Let's determine the data types of the variables you created in the last exercise.

Instructions

100 XP

Print the data types associated with the variables company_1, year_1 and revenue_1.