Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Day1: added name
  • Loading branch information
Dheeraj-024 committed Jan 20, 2026
commit 84e4c876fc520448aa2f6a6df89bec073f61c572
4 changes: 2 additions & 2 deletions ch03-first-python-program/2-screw-things-up.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.
Expand Down