What’s wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What’s wrong?

import re num='my num is above' pat=r'above' number=re.sub(pat,'below',num) print(num) Please what’s wrong with this code?

27th Aug 2020, 2:20 PM
Elijah Oduyemi
Elijah Oduyemi - avatar
1 Answer
+ 3
dont worry guys i found the error already
27th Aug 2020, 2:21 PM
Elijah Oduyemi
Elijah Oduyemi - avatar