Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Slicing with Index Function | Strings
Data Types in Python
セクション 3.  11
single

single

bookChallenge: Slicing with Index Function

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

タスク

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

Try to extract words using slicing, but in a little bit more complicated way. The syntax of slicing is the following:

word[start_index:end_index]

To find the start_index, use the index() method, and to find the end_index, use the index() method, and add the length of the word.

  1. Extract the word learn.
  2. Extract the word painful.
  3. Extract the word mistakes.

If you use all the methods that were explored, this task won't be challenging for you.

解答

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

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

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

セクション 3.  11
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt