Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
List
When I use a list or something like that in my code the output is always just like the list obviously. How can I print a list without "" and []?
1 Réponse
+ 1
You can also use join() method
alist = ["cat","foo","bar","spam"]
print(" ".join(alist))