+ 2
Why does Python hates my ":"?
for example: the input should be a adgs and then the output will be: start 2 https://code.sololearn.com/c1i2Ufqd7xZc/?ref=app
1 Resposta
+ 5
You have to add yet another closing bracket ) in line 8.
Also, you'll encounter an error in line 4, as you try to assign r to the pattern variable. And r is not defined elsewhere. Simply write:
pattern = x
-- that will work.