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:
- species = 'Python'
- length = 5.5
- is_dangerous = True
- print(f'{species}: {length} m, dangerous: {is_dangerous}')