DEV Community

Converting Elements in List to a String in Python - Easy

SAI GOUTHAM on August 26, 2021

💡 Quick Tips You can Convert any list into a string using the code above: Step:1 - Declare the desired List Step:2 - Declare an Empty ...
Collapse
 
dmrlx profile image
Alexander Demura

Absolutely useless.
password = ''.join(password_list)

Collapse
 
gouthique profile image
SAI GOUTHAM

Yeah, thanks for sharing this but not every person has such deep knowledge about python. For beginners it's easy to Get things done with for loop and I feel it's never useless! Because everyone started from this point only.