Question: If numRegex = re.compile(r'd+'), what will numRegex.sub('X', '12 drummers, 11 pipers, five rings, 3 hens') return?
If numRegex = re.compile(r'\d+'), what will numRegex.sub('X', '12 drummers, 11 pipers, five rings, 3 hens') return?
Step by Step Solution
3.42 Rating (161 Votes )
There are 3 Steps involved in it
X drumm... View full answer
Get step-by-step solutions from verified subject matter experts
