Foundations of Python

31 / 134

Guess the Type

We can find out the variable type using type(). To determine the type of variable a, simply execute

  • Define a variable total_interest with value 9762.69
  • Use the Jupyter notebook on the right and write code to print the type of total_interest variable

The type of total_interest variable is

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...