python-novice-inflammation icon indicating copy to clipboard operation
python-novice-inflammation copied to clipboard

First introduction of comments

Open josemunozc opened this issue 5 years ago • 4 comments
trafficstars

Hi.

I noticed that in lesson 2 (Analyzing Patient Data) the use of # to comment out text is explained with:

Everything in a line of code following the ‘#’ symbol is a comment that is ignored by Python. Comments allow programmers to leave explanatory notes for other programmers or their future selves.

after using a comment in an example. However, the first use of comments is in lesson 1 (Python Fundamentals)

# There are 2.2 pounds per kilogram
weight_lb = 2.2 * weight_kg
print(weight_kg_text, weight_kg, 'and in pounds:', weight_lb)

Wouldn't be better to move the explanation (and associated key point) to the first lesson?

josemunozc avatar Sep 18 '20 13:09 josemunozc

Good catch, @zerpiko! I think we should do that. Do you agree, @ldko and @annefou?

maxim-belkin avatar Sep 18 '20 13:09 maxim-belkin

Yes, I think @zerpiko makes a good point. If Jose wants to open a PR to move the explanation, I think that would be great!

ldko avatar Sep 18 '20 15:09 ldko

Yes I agree,

annefou avatar Sep 18 '20 19:09 annefou

Hi, thanks for the feedback. I created a PR for this issue.

josemunozc avatar Sep 21 '20 09:09 josemunozc