Put in order · Python course · Module 1: Python Basics

Data Types - Ordering

Arrange the numeric types by the hierarchy from the lesson, from the narrowest to the widest (an operation's result takes the wider type):

Items to put in order

  • bool
  • float
  • int
Show the answer

Correct order:

  1. bool
  2. int
  3. float