def greet(lang):
if lang == 'es':
print('hola')
elif lang == 'eng':
print('hello')

>>>greet(’eng’)

hello

>>>greet(’es’)

hola