astrofrog / astrofrog/py4sci

Fehler in Aufgabe 101.2

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
25
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Hello,

thank you very much for this tutorial and for making it public! I like using it for my students when I teach courses with python.

One of my students found an error in task 2 of module 101. The name of the variable that is declared in the task is n. However in the following, a varibale with the name of y is checked (try: y). Naturally this gives a NameError because no variable y exists. After the try/except, the variable n is then checked again (so simply renaming the whole variable n does not work either.

I cloned this repository and corrected the error. Do you want to correct this very tiny and minor error yourself or do you want me to send you the corrected notebook?

Best
Kathinka

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.