space to underscore python

31

mystring.replace(" ", "_")

Comments

Submit
0 Comments