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