From 0178e3e9e9908d3cd730a111abb567ea21b9a2a3 Mon Sep 17 00:00:00 2001 From: Pawel Pioro <109100779+Pawel-Pioro@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:32:09 +0000 Subject: [PATCH] Fixed error in chapter1.py --- Chapter01/chapter1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter01/chapter1.py b/Chapter01/chapter1.py index 9d9d1be..8b31596 100644 --- a/Chapter01/chapter1.py +++ b/Chapter01/chapter1.py @@ -242,9 +242,9 @@ Firstlist = [] Secondlist = [] if Firstlist is not Secondlist: - print("Both Firstlist and Secondlist variables are the same object") -else: print("Both Firstlist and Secondlist variables are not the same object") +else: + print("Both Firstlist and Secondlist variables are the same object") #Output: # Both Firstlist and Secondlist variables are the same object