Source Code
def fun(food):
for x in food:
print(x)
fruits = ["apple", "banana", "cherry"]
fun(fruits)
OUTPUT
apple
banana
cherry
Source Code
def fun(food):
for x in food:
print(x)
fruits = ["apple", "banana", "cherry"]
fun(fruits)
OUTPUT
apple
banana
cherry
Hello, my name is G Krishna. I'm Creating this blog for the students who are beginners.
Learn More →
No comments:
Post a Comment