Answers for "python format list as string"

1

format list into string python

lst = ["hi", "there"]
print(", ".join(lst))

cli
--------------
hi, there
Posted by: Guest on September-11-2021
0

python format string with list

>>> print('Skillset: {}'.format(*langs))
Skillset: C
Posted by: Guest on March-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language