Python

print("Hello, World!")            
def greeting(name):
    return 'Hello {}, nice to meet you!'.format(name)

greet_john = greeting('John')
print(greet_john)            
names = ['John', 'Paul', 'Ringo', 'George']

for name in names:
    print('Hello {}!'.format(name))
            
def greet_musician(n, i):
    return 'Hi {}, play the {} for me!'.format(n, i);

band = {
    'John': 'guitar',
    'Paul': 'bass',
    'Ringo': 'drums',
    'George': 'guitar'
}

for name, instrument in band.items():
    print(greet_musician(name, instrument))