Last active
October 30, 2023 21:39
-
-
Save cibofdevs/41871a16915fbb1a307b5fecb9576838 to your computer and use it in GitHub Desktop.
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
# 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
for char in my_str:
print(char)