Friday, May 27, 2022

looping through a string

input:

 fruits=["apple","pineapple","mango"]

for b in fruits:

 print(b)

output:



 

No comments:

Post a Comment