This is the most confusing of the course pages so far

Screen Link: https://app.dataquest.io/m/349/project%3A-learn-and-install-jupyter-notebook/6/hidden-state

More of a general comment - when using Jupyter for the first time we are exploring much faster then the specific path in the lesson, so after 6 screens we cannot have code that looks identical - would be great. to have more specific actions to apply to the current pages

1 Like

I had some discrepancies as well. Initially, welcome(dq) gave me an output of Welcome to Dataquest!. But at this step, it doesn’t give any output although this variable wasn’t changed in the modification. Same thing for jn variable.

@francis this is a very delayed response :frowning: and @vroomvroom I didn’t quite understand your issue. But have you guys referred to this article as well? Is this not helpful too?

There are a lot of other articles about Jupyter notebooks for beginners on google. You may check them out too to aid your understanding of Jupyter Notebooks.

1 Like

Thanks for the info on the tutorials. I’ll take a look.

Hi, on this page my jupyter code looks like this:

def welcome(a_string):
Welcome_msg='Welcome to '+ a_string + ‘!’
return Welcome_msg

dq=‘Dataquest’
jn=‘Jupyter Notebook’
py=‘Python’
welcome(dq)
welcome(jn)
welcome(py)

NameErrorTraceback (most recent call last)
in ()
1 welcome(dq)
2 welcome(jn)
----> 3 welcome(py)

NameError: name ‘py’ is not defined

%history -p

def welcome(a_string):
… Welcome_msg='Welcome to '+ a_string + ‘!’
… return Welcome_msg

… dq=‘Dataquest’
… jn=‘Jupyter Notebook’

welcome(dq)
… welcome(jn)
… welcome(py)

%history -p
welcome(dq)
welcome(jn)
welcome(py)

NameErrorTraceback (most recent call last)
in ()
----> 1 welcome(dq)
2 welcome(jn)
3 welcome(py)

NameError: name ‘welcome’ is not defined


The above seems different from the answers provided. Is the above incorrect?