Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
- 3

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 ans

21st Dec 2016, 5:16 PM
MANICKAM . R
16 Antworten
+ 4
(\n|.){2}\!\$
21st Dec 2016, 5:21 PM
Valen.H. ~
+ 2
import re num = "07987549836" pattern = r"9" num = re.sub(pattern, "0", num) print(num)
23rd Jan 2017, 7:48 PM
Crystal Marie
+ 1
the ans of this Q's is :- ..!
15th Aug 2017, 1:02 PM
+ 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.
15th Jun 2018, 8:53 AM
renu Singh
+ 1
The answer is x = str. replace ('!', '.')
29th Aug 2022, 4:32 PM
Geethika Gayani Weerasinghe
0
Please, don't help them ValentinHacker, it won't help them
21st Dec 2016, 10:41 PM
Amaras A
0
..!
2nd Sep 2017, 12:17 PM
RAVIDEV PAL
0
..!
25th Jan 2018, 2:56 PM
Denis Konieiev
0
Ans : re"..!
quot;
12th Mar 2019, 10:26 AM
محمد سعد علی
0
..!
5th Dec 2020, 12:42 PM
0
..!
9th Dec 2020, 11:38 AM
HANNAH IRUNGU
- 1
The blanks is ..!
5th Jan 2017, 1:09 AM
zhanglong
- 1
27th Apr 2017, 8:54 PM
Noureddine BENMANSER
- 2
Ans: r"..!
quot;
19th May 2017, 4:50 PM