Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge 2: Sorting Lists | Lists, Loops And Functions
Python: For Beginners
セクション 2.  2
single

single

Challenge 2: Sorting Lists

メニューを表示するにはスワイプしてください

Look at the example below to understand how sorting works.

1234
numbers = [3, 1, 4, 1, 5] numbers.sort() print("sorted:", numbers) #prints the sorted list print('done')

Now let's move on to the task.

タスク

スワイプしてコーディングを開始

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;

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 2.  2
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt