@@ -116,31 +116,31 @@ NameError: name 'temperature' is not defined
116116> > There are missing parentheses and colon `():` after the function call, and the print messages don't appear aligned via whitespace
117117> > ~~~
118118> > File "<stdin>", line 1
119- def another_function
120- ^
121- SyntaxError: invalid syntax
119+ > > def another_function
120+ > > ^
121+ > > SyntaxError: invalid syntax
122122> > ~~~
123123> > {: .error}
124124> > ~~~
125125> > File "<stdin>", line 1
126- print("Syntax errors are annoying.")
127- ^
128- IndentationError: unexpected indent
126+ > > print("Syntax errors are annoying.")
127+ > > ^
128+ > > IndentationError: unexpected indent
129129> > ~~~
130130> > {: .error}
131131> > ~~~
132132> > File "<stdin>", line 1
133- print("But at least Python tells us about them!")
134- ^
135- IndentationError: unexpected indent
133+ > > print("But at least Python tells us about them!")
134+ > > ^
135+ > > IndentationError: unexpected indent
136136> > ~~~
137137> > {: .error}
138138> > Working function:
139139> > ~~~
140140> > def another_function():
141- print("Syntax errors are annoying.")
142- print("But at least Python tells us about them!")
143- print("So they are usually not too hard to fix.")
141+ > > print("Syntax errors are annoying.")
142+ > > print("But at least Python tells us about them!")
143+ > > print("So they are usually not too hard to fix.")
144144> > ~~~
145145> > {: .python}
146146> {: .solution}
0 commit comments