Last active
May 19, 2019 10:49
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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