- 3
ANSWER PLZ
Fill in the blanks to create a pattern that matches strings that contain 3 characters, out of which the last character is an exclamation mark. r"___
quot; what ans16 Respostas
+ 4
(\n|.){2}\!$
+ 2
import re
num = "07987549836"
pattern = r"9"
num = re.sub(pattern, "0", num)
print(num)
+ 1
the ans of this Q's is :- ..!
+ 1
Question :-
Why "..!" ?
I don't understand
solution:-
The question is says about three letters and last one is ! so " ..!"
Two dots for first two letters.
+ 1
The answer is
x = str. replace ('!', '.')
0
Please, don't help them ValentinHacker, it won't help them
0
..!
0
..!
0
Ans :
re"..!quot;
0
..!
0
..!
- 1
The blanks is ..!
- 1
the answer is ..!
- 2
Ans:
r"..! quot;
- 2
r"..! quot;
- 2
Why "..!" ?
I don't understand