Answers for "remove a space in python print"

3

python remove spaces

string=' t e s t ' 
print(string.replace(' ',''))
Posted by: Guest on October-14-2020
0

remove space in print python

print('My age is "{}"'.format(20))
Posted by: Guest on June-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language