File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ around with decision making and changing prints based on your answer. In Python
148148is using an ` if ` statement. For example:
149149
150150 >>> number = 4
151- ... if number > 3:
151+ >>> if number > 3:
152152 ... print("Bigger than three")
153153 ... elif number < 3:
154154 ... print("Smaller than three")
@@ -158,9 +158,9 @@ is bigger than three, we will receive a message telling us so. There is a
158158different message if the number is smaller than three.
159159
160160Also, now that we are getting more in depth with Python, we should say that
161- Python is very particular about indentation. With Python, if any lines are not
162- indented correctly the code will not run. If you are running into bugs, this
163- is a good place to start.
161+ Python is very particular about indentation (i.e. the spaces at the start of a
162+ line of code). With Python, if any lines are not indented correctly the code
163+ will not run. If you are running into bugs, this is a good place to start.
164164
165165In this final exercise we are going to ask you the number of coffees you have
166166drunk today and then change the statement returned to you, depending on your
You can’t perform that action at this time.
0 commit comments