Sectie 2. Hoofdstuk 2
single
Challenge 2: Sorting Lists
Veeg om het menu te tonen
Look at the example below to understand how sorting works.
1234numbers = [3, 1, 4, 1, 5] numbers.sort() print("sorted:", numbers) #prints the sorted list print('done')
Now let's move on to the task.
Taak
Veeg om te beginnen met coderen
Fill the array you were given with cities you like.
- create a variable called cities;
- add at least 3 cities to it;
- print the result;
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 2
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.