replace number with string python
x = re.sub(r"\d+", "NUMB", str(x)) #Replaces digits with 'NUMB'
replace number with string python
x = re.sub(r"\d+", "NUMB", str(x)) #Replaces digits with 'NUMB'
python string replace letters with numbers
from string import ascii_letters
code = code = "1111702460830000Lu05"
code = "".join([str(ascii_letters.index(c)) if c in ascii_letters else c for c in code])
print(code)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us