Answers for "how to join a char array in py"

0

how to join an array of characters in python

arrayOfCharacters = ["p", "y", "t", "h", "o", "n"]
string = ''.join(arrayOfCharacters)
#output: python
Posted by: Guest on May-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language