You can use str.join
, like this:
>>> s=" ".join(['5bloc', 'ksoft', 'extte', 'st'])
>>> print(s)
5bloc ksoft extte st
solved Python – how to remove commas, square brackets and quotation marks from list [duplicate]
You can use str.join
, like this:
>>> s=" ".join(['5bloc', 'ksoft', 'extte', 'st'])
>>> print(s)
5bloc ksoft extte st
solved Python – how to remove commas, square brackets and quotation marks from list [duplicate]