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

Python Numpy tutorial page is broken #505

Open
SCFrench opened this issue Jul 28, 2020 · 0 comments
Open

Python Numpy tutorial page is broken #505

SCFrench opened this issue Jul 28, 2020 · 0 comments

Comments

@SCFrench
Copy link
Contributor

SCFrench commented Jul 28, 2020

The page tutorials/learnpython.org/en/Numpy Arrays.md is broken. The first exercise is not linked to the following exercises in the underlying python interpreter, so when you run the second and succeeding exercises, they just error with messages like

Traceback (most recent call last):
File "", line 1, in
print(type(np_height))
NameError: name 'np_height' is not defined

I think the first exercise on the page, the one that starts

# Create 2 new lists height and weight

needs to be converted to a data-datacamp-exercise format, i.e. one that starts with

<div data-datacamp-exercise data-height="225" data-encoded="true">

but I'm not sure, and I wouldn't know how to do that conversion even if I was.

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