Group function 2/2
Tehtävä
Swipe to start coding
- Import
re
. - Define a text variable as
"123-456-7890"
. - Search for the first vowel value in the string using the following grammar:
^\d{3}-\d{3}-\d{4}$
. - Print the output using the
group()
function.
Ratkaisu
Mark tasks as Completed
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 6
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 11.11
Group function 2/2
Tehtävä
Swipe to start coding
- Import
re
. - Define a text variable as
"123-456-7890"
. - Search for the first vowel value in the string using the following grammar:
^\d{3}-\d{3}-\d{4}$
. - Print the output using the
group()
function.
Ratkaisu
Mark tasks as Completed
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 6