From d6ae74927c6e4b716f764029cd622e05b84106d2 Mon Sep 17 00:00:00 2001 From: Deepanshi Gupta <86289927+Deepanshi-Gupta@users.noreply.github.com> Date: Fri, 4 Feb 2022 17:01:09 +0530 Subject: [PATCH] Update 2-screw-things-up.py --- ch03-first-python-program/2-screw-things-up.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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