Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sumar = lambda x, y: x + y
- print(sumar(2, 3))
- print(sumar(5, 2))
- nombres = ['Edward Ortiz', 'Jaela Meneses',
- 'Juan Urbano', 'Oliva Ordoñez']
- print(sorted(nombres, key=lambda nombre: nombre.split()[-1].lower()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement