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. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy