Python sample question with answer 19

Question:
You want to welcome 3 users from a list by their name (for example, “Welcome, Emerick Larson”).
Iterative statement

  1. name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
    for i in name:
      print("Welcome,", name)
  2. name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
    for i in range(3):
      print("Welcome,", i)
  3. name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
    i = 1
    while i <= 3:
      print("Welcome,", i)
      i = i + 1
  4. name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
    for i in name:
      print("Welcome,", i)
Answer:
D - is the correct answer