Guys how can i delete [] and , (change , to _) from result | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Guys how can i delete [] and , (change , to _) from result

https://code.sololearn.com/c9hmIY9fFu7v/?ref=app

24th Feb 2023, 6:18 PM
Amir Ghannad
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
24th Feb 2023, 6:32 PM
Stefanoo
Stefanoo - avatar
0
Stefanoo Thank you
24th Feb 2023, 6:44 PM
Amir Ghannad