gs gs109 Regular Expressions - Python Regular Expressions - Quiz No.5
gs gs109 Python Quiz
This quiz belongs to book/course code gs gs109 Python of gs organization. We have 134 quizzes available related to the book/course Python. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Regular Expressions. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
re.split(r'(a)(t)', 'Maths is a difficult subject')
import re s = 'abc123 xyz666 lmn-11 def77' re.sub(r'\b([a-z]+)(\d+)', r'\2\1:', s)
re.subn('A', 'X', 'AAAAAA', count=4)
n = re.sub(r'\w+', 'Hello', 'Cats and dogs')
Hello Hello Hello
w = re.compile('[A-Za-z]+') w.findall('It will rain today')
re.split(r'\s+', 'Chrome is better than explorer', maxspilt=3)
a=re.compile('[0-9]+') a.findall('7 apples and 3 mangoes')