+ 1
Why is this code wrong?
Hi everyone. Can someone tell me why moderators have declined this submission? What is the output of this code? import re pattern = r".([aeiou](36)*(4)?(5)+)+(z)8
quot; str1 = "ba45a45z8" match = re.match(pattern,str1) if match: print(str(len(match.groups()))*2) (answer: 55) It seems to me everything is correct, it works in the interpreter with the correct output. Don't understand why It was declined2 odpowiedzi
+ 8
Out of 24 quizzes only 2 of mine got accepted
0
but how they decide if accept or decline a submission? The correctness of the code is not enough apparently