New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Guys how can i delete [] and , (change , to _) from result
2 Answers
+ 1
You can delete a list with:
del list
and to change the output you can do it like this:
print(*list, sep='_')
* <- this is an unpack operator
0
Stefanoo Thank you