+ 2

Can u get the same output in any other method ...!!!

india https://code.sololearn.com/cM2lb11rWiGz/?ref=app

12th Oct 2017, 8:27 AM
MoNish
MoNish - avatar
2 Réponses
+ 1
you can use 'sub' function
14th Oct 2017, 8:35 AM
abolfazl meyarian
abolfazl meyarian - avatar
+ 1
import re print(re.sub('[0-9]', ' ', '56543mMaq4324'))
14th Oct 2017, 8:41 AM
abolfazl meyarian
abolfazl meyarian - avatar