diff --git a/ch03-first-python-program/2-screw-things-up.py b/ch03-first-python-program/2-screw-things-up.py index ba0b1c8..84d1c8d 100755 --- a/ch03-first-python-program/2-screw-things-up.py +++ b/ch03-first-python-program/2-screw-things-up.py @@ -4,7 +4,7 @@ # Exercise 1 # The following line won't run because of a syntax error -print("hi) +print("hi") # We didn't close the double quotes at the end of the string. # The line above needed to have been: @@ -15,7 +15,7 @@ ''' The following lines won't run properly, even if the syntax error in the line above is corrected, because of a run-time error ''' -print(hello) +print("hello") # We meant to print the string "hello"; # a variable named 'hello' doesn't exist yet.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: