input:
fruits=["apple","pineapple","mango","python","C++"]
for b in fruits:
print(b)
if b == "python":
break
output:
No comments:
Post a Comment