0
split method
https://code.sololearn.com/cVCCM42LdGGv/#py even though i have \d sequence Y did I not get the numbers in the output list
1 Resposta
+ 4
You need to use '\D' as separator so it will remove everything that's no a digit.
Also if you'll use '\D+' then output is more appropriate.