index = 0 while index < len(fruit): letter = fruit[index] print letter index += 1...you explain what the output is, but it's difficult to understand without a visual picture of what it's supposed to do. It would be more clear if you showed
index = 0
while index < len(fruit):
letter = fruit[index]
print letter
index += 1
b
a
n
a
n
a
No comments:
Post a Comment