You can use join() to turn a list into a string in Python

preview_player
Показать описание
Code in the video:

l = ["This", "will", "be", "a", "string"]
string = " ".join(l)
print(string)

#Shorts #python #programming #coding
Рекомендации по теме
visit shbcf.ru