0
Fill in the blanks to create a pattern that matches strings that contain one or more 42s. r"(42) 'blank' quot;
unsure what this question wants, tried various things that i thought i'd learnt from the course but nothing works - Solo Learn Python Core is the course Fill in the blanks to create a pattern that matches strings that contain one or more 42s. r"(42) 'blank'
quot;8 odpowiedzi
+ 4
Oh wow I cant believe I didn't understand that last week!
r"(42) + quot; is the answer.
Thank you
+ 1
Please tag the relevant programming language instead of "help" – that helps other users to determine the context of your question.
I can't see the blanks in the example, could you mark them more clearly?
+ 1
Is it in a sololearn course? Which one, which language?
+ 1
Have a look at the info box in lesson 86.1 of the course: There they explain the difference between * and +
+ 1
Great! You solved it! 👍
0
hi, sorry this is the blank -
r"(42) 'blank' quot;
0
yes its Python Core on Sololearn, metacharacter section
0
turab nomanbhai
LOOK LIKE QUESTION HAS ERROR FOR s , HOWEVER r"(42)+quot; IS WORKING,(NOTE): LEAVE NO GAP (SPACE) IN PATTERN BETWEEN + AND $ SIGHN ,and put r also .