Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in section 1.2 user_record #11

Open
rasrobo opened this issue Dec 14, 2016 · 0 comments
Open

typo in section 1.2 user_record #11

rasrobo opened this issue Dec 14, 2016 · 0 comments

Comments

@rasrobo
Copy link

rasrobo commented Dec 14, 2016

i finally got this working by defining 'record' instead of user_record.

Just wanted to share .. thanks!

on-input-37-fd835976edf3> in ()
----> 1 user_record = name, email, *phone_numbers

NameError: name 'email' is not defined

In [38]: phone_numbers

NameError Traceback (most recent call last)
in ()
----> 1 phone_numbers

NameError: name 'phone_numbers' is not defined

#here where i set to record instead of user_record
In [39]: name, email, *phone_numbers = record

In [40]: name
Out[40]: 'Dave'

In [41]: email
Out[41]: '[email protected]'

In [42]: phone_numbers
Out[42]: ['773-555-1212', '555-555-5555']

In [43]:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant