Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- #
- import sys
- nombres = sys.argv[1:]
- if nombres:
- for nombre in nombres:
- print(f"Hola {nombre}")
- else:
- print("No me has dicho ningún nombre")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement