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

Program with Multiple Variables

Order the steps of an animal program:

Items to put in order

  • print(f'{species}: {length} m, dangerous: {is_dangerous}')
  • length = 5.5
  • species = 'Python'
  • is_dangerous = True
Show the answer

Correct order:

  1. species = 'Python'
  2. length = 5.5
  3. is_dangerous = True
  4. print(f'{species}: {length} m, dangerous: {is_dangerous}')