セクション 2. 章 9
single
Challenge: Retrieving Letters from String
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
You are working with strings and need to extract specific parts of a given sentence. You have a sentence stored in a variable and need to extract the first character, last character, and a specific word from it.
- Create a variable called
first_charto store the first character of the string. - Create a variable called
last_charto store the last character of the string. - Create a variable called
highlighted_wordto store the word"for"extracted from the string.
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 2. 章 9
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください