Question:
You want to welcome 3 users from a list by their name (for example, “Welcome, Emerick Larson”).
Iterative statement
name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
for i in name:
print("Welcome,", name)
name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
for i in range(3):
print("Welcome,", i)
name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
i = 1
while i <= 3:
print("Welcome,", i)
i = i + 1
name = ["Emrick Larson", "Estrella Ortiz", "Tori Shah"]
for i in name:
print("Welcome,", i)