Skip to content

Instantly share code, notes, and snippets.

@ashutoshpipriye
Created May 27, 2020 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashutoshpipriye/8a42380fe42136fc30de0469997b3827 to your computer and use it in GitHub Desktop.
Save ashutoshpipriye/8a42380fe42136fc30de0469997b3827 to your computer and use it in GitHub Desktop.
# Write one for loop to print out each character of the string my_str on a separate line.
my_str = "MICHIGAN"
for i in range(len(my_str)):
print(my_str[i])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment