+ 1
Why this result ?
Return value is 1. Why ? The string is '12,34' (with a coma, not dot) Thanks https://code.sololearn.com/wM6Fy2Yhy775/?ref=app
1 Answer
+ 6
you need a '\' before '.' because it matches any character
https://www.sololearn.com/learn/9670/?ref=app