Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from collections import namedtuple
- Subscriptor = namedtuple('Subscriptor', ['email', 'registrado'])
- subscriptor = Subscriptor('balzac@gmail.fr', '1799-05-20')
- print(subscriptor.email)
- print(subscriptor.registrado)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement