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

Change some potentially confusing naming #269

Merged
merged 1 commit into from
Mar 27, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions en/python_introduction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ Awesome, right? Of course, variables can be anything, so numbers too! Try this:

But what if we used the wrong name? Can you guess what would happen? Let's try!

>>> name = "Maria"
>>> names
>>> city = "Tokyo"
>>> ctiy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'names' is not defined
NameError: name 'ctiy' is not defined

An error! As you can see, Python has different types of errors and this one is called a **NameError**. Python will give you this error if you try to use a variable that hasn't been defined yet. If you encounter this error later, check your code to see if you've mistyped any names.

Expand Down