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"___$" what ans
12/21/2016 5:16:33 PM
MANICKAM . R15 Answers
New Answerimport re num = "07987549836" pattern = r"9" num = re.sub(pattern, "0", num) print(num)
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.
Learn Playing. Play Learning
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message