Answers for "how to declare space in python"

1

replace space with . pyhton

mystring.replace(" ", "_")
Posted by: Guest on September-24-2020
1

can variables have spaces python

No.

Use underscores instead.
Posted by: Guest on December-29-2020

Code answers related to "how to declare space in python"

Python Answers by Framework

Browse Popular Code Answers by Language