L = ['Bart', 'Lisa', 'Adam']
for name in L:
print("Hello, %s!"% name)
for x in L:
print(f"hello,{x}")
Sign in to make a reply
Action
L = ['Bart', 'Lisa', 'Adam']
for name in L:
print("Hello, %s!"% name)