Create a pattern that match the string of 3 whoes last letter is exclamation mark | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Create a pattern that match the string of 3 whoes last letter is exclamation mark

1st Dec 2016, 6:36 PM
Ayush Gupta
Ayush Gupta - avatar
2 ответов
0
import re re.match(r"..!",theStringYouWantToMatch)
4th Dec 2016, 9:06 AM
H4CK3R
0
..!
4th Dec 2016, 9:53 AM
Mojtapa Eltayip Abdelrhman
Mojtapa Eltayip Abdelrhman - avatar