Answers for "while loop for lists"

2

iterate through a list

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

Python Answers by Framework

Browse Popular Code Answers by Language