Challenge: Retrieving Letters from String
Taak
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
stringfrom thetest_strvariable.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 10
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 1.64
Challenge: Retrieving Letters from String
Veeg om het menu te tonen
Taak
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
stringfrom thetest_strvariable.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 10
single