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

Consistency with weight_kg variable name #79

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions _episodes/02-assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ NameError: name 'last_name' is not defined


~~~
weight
weight_kg
~~~
{: .language-python}
~~~
Expand All @@ -106,16 +106,16 @@ weight
{: .output}

~~~
Weight
Weight_kg
~~~
{: .language-python}
~~~
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-4-4ab70f7f1bf7> in <module>()
----> 1 Weight
----> 1 Weight_kg

NameError: name 'Weight' is not defined
NameError: name 'Weight_kg' is not defined
~~~
{: .error}

Expand Down Expand Up @@ -151,7 +151,7 @@ Ahmed is 42 years old
all of the source code is one long set of instructions.

~~~
print(first_name, 'weighs', weight, 'kg')
print(first_name, 'weighs', weight_kg, 'kg')
~~~
{: .language-python}
~~~
Expand Down