Answers for "iterate over the list using a for loop and print its values"

2

iterate through a list

my_list = ["Hello", "World"]
for i in my_list:
  print(i)
Posted by: Guest on November-30-2020

Code answers related to "iterate over the list using a for loop and print its values"

Python Answers by Framework

Browse Popular Code Answers by Language