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;

4th Apr 2022, 1:02 PM
Rachel
8 odpowiedzi
+ 4
Oh wow I cant believe I didn't understand that last week! r"(42) +
quot; is the answer. Thank you
4th Apr 2022, 1:43 PM
Rachel
+ 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?
4th Apr 2022, 1:12 PM
Lisa
Lisa - avatar
+ 1
Is it in a sololearn course? Which one, which language?
4th Apr 2022, 1:15 PM
Lisa
Lisa - avatar
+ 1
Have a look at the info box in lesson 86.1 of the course: There they explain the difference between * and +
4th Apr 2022, 1:23 PM
Lisa
Lisa - avatar
+ 1
Great! You solved it! 👍
4th Apr 2022, 1:44 PM
Lisa
Lisa - avatar
0
hi, sorry this is the blank - r"(42) 'blank'
quot;
4th Apr 2022, 1:14 PM
Rachel
0
yes its Python Core on Sololearn, metacharacter section
4th Apr 2022, 1:16 PM
Rachel
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 .
29th Apr 2024, 3:25 AM
turab nomanbhai
turab nomanbhai - avatar