Answers for "python get rid of spaces before and after"

3

remove after and before space python

st = " a "
strip(st)
#Output : "a"
Posted by: Guest on May-24-2020
-1

python how to get rid of spaces in print

print('n{} you will be {} in ten years.'.format(name, ageinten))
Posted by: Guest on October-30-2020

Code answers related to "python get rid of spaces before and after"

Python Answers by Framework

Browse Popular Code Answers by Language