remove some characters from a string in python3 with translate function
name=G30ffr3Y
name.translate(None,"0123")
>>GffrY
but when i try it with python3 its not working I tried with name.replcae()its not working fine
remove some characters from a string in python3 with translate function
name=G30ffr3Y
name.translate(None,"0123")
>>GffrY
but when i try it with python3 its not working I tried with name.replcae()its not working fine