For loop over string array in python

for name in ["kak", "John", "Mani", "Matt"]:
   print(name)

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.