space to underscore python

37

mystring.replace(" ", "_")

Comments

Submit
0 Comments