Challenge: Retrieving Letters from String
Compito
Swipe to start coding
You're given the string "This is string for learning" stored in the variable test_str
. Your tasks are to:
- Retrieve and display the first character of the
test_str
(using the firstprint()
function). - Retrieve and display the last character of the
test_str
(using the secondprint()
function). - Retrieve and display the word
string
from thetest_str
variable.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 10
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 1.64
Challenge: Retrieving Letters from String
Scorri per mostrare il menu
Compito
Swipe to start coding
You're given the string "This is string for learning" stored in the variable test_str
. Your tasks are to:
- Retrieve and display the first character of the
test_str
(using the firstprint()
function). - Retrieve and display the last character of the
test_str
(using the secondprint()
function). - Retrieve and display the word
string
from thetest_str
variable.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 1.64Sezione 2. Capitolo 10
single