Vidyalelo
Python · Q39

Regular Expressions in Python

Programming · Python · question 39

Q39

How can you specify a range of characters in a character class in regular expressions?

A.
By using a hyphen - between the characters
Answer
B.
By using a comma , between the characters
C.
By using a colon : between the characters
D.
By using a tilde ~ between the characters

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board