O'Reilly logo
  • Longxiang Lyu thinks this is interesting:

3-4. Guest List:

From

Cover of Python Crash Course

Note

message1 = 'Hi, '
message2 = 'would you like to join me for dinner tonight?'
names = ['Ruby', 'Java', 'Jay', 'Alicia']
loop = 0
for name in names:
print(message1 + name + message2)