0

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

Geofe Geo
  • 15
  • 3

0 Answers0