<gh_stars>0
"""
1-For each character in the string already saved in the variable str1, add
each character to a list called chars.
"""
str1 = "I love python"
# HINT: what's the accumulator? That should go here.
chars = []
for x in str1:
    chars.append(x)
print(chars)

print("\n##################################################################\n")

"""
Assign an empty string to the variable output. Using the range function, 
write code to make it so that the variable output has 35 a s inside it 
(like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"). 
Hint: use the accumulation pattern!
"""

output = ''
for a in range(0, 35):
    output = output + 'a'
print(output)
"""
1-For each character in the string already saved in the variable str1, add
each character to a list called chars.
"""
str1 = "I love python"
# HINT: what's the accumulator? That should go here.
chars = []
for x in str1:
    chars.append(x)
print(chars)

print("\n##################################################################\n")

"""
Assign an empty string to the variable output. Using the range function, 
write code to make it so that the variable output has 35 a s inside it 
(like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"). 
Hint: use the accumulation pattern!
"""

output = ''
for a in range(0, 35):
    output = output + 'a'
print(output)
1-For each character in the string already saved in the variable str1, add each character to a list called chars. # HINT: what's the accumulator? That should go here. ##################################################################\n") Assign an empty string to the variable output. Using the range function,  write code to make it so that the variable output has 35 a s inside it  (like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa").  Hint: use the accumulation pattern!