Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Retrieving Letters from String | Variables and Types in Python
Introduction to Python (dev copy)
セクション 2.  10
single

single

bookChallenge: Retrieving Letters from String

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

タスク

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

You're given the string "This is string for learning" stored in the variable test_str. Your tasks are to:

  1. Retrieve and display the first character of the test_str (using the first print() function).
  2. Retrieve and display the last character of the test_str (using the second print() function).
  3. Retrieve and display the word string from the test_str variable.

解答

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

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

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

セクション 2.  10
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt