Introduction
Displaying values
Variables
The print function
List basics
Summary
25. Exercise 3

Instruction

Great! Let’s finish off with a short exercise on lists!

Exercise

Given a ranking of the biggest German cities, show the top 5 cities to the console.