Skip to content

Instantly share code, notes, and snippets.

@sahithyandev
Last active May 19, 2019 10:49
Show Gist options
  • Save sahithyandev/9df40666ef3017f6ccd544ce474bd9fb to your computer and use it in GitHub Desktop.
Save sahithyandev/9df40666ef3017f6ccd544ce474bd9fb to your computer and use it in GitHub Desktop.
This python function will return a array of letters in a string. (Not tested)
def stringToArray(string):
array = []
for letter in string:
array.append(letter)
return array
println(stringToArray("Sahithyan"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment