Created
February 22, 2020 19:53
-
-
Save mayankdawar/7f02340d4988aa3e83a294a3457944ac to your computer and use it in GitHub Desktop.
For each character in the string saved in ael, append that character to a list that should be saved in a variable app.
This file contains hidden or 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
| ael = "python!" | |
| lst = [] | |
| for i in ael: | |
| lst.append(i) | |
| app = lst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you set variable app as your empty list you don't have to run app = lst
ael = "python!"
app = []
for i in ael:
app.append(i)
print(app)
#Thank you for posting all these helpful answers, really helpful when I get stuck in this course!!!