# Popcorn Hack 1
user1 = int(input("Enter your first number: "))
user2 = int(input("Enter your second number: "))
if user1 > user2:
print("Your first number is bigger")
elif user1 < user2:
print("Your second number is bigger")
else:
print("Both numbers are equal")
Your second number is bigger
# Popcorn Hack 2
weather= int(input("Type 1 if it is sunny, Type 2 if it is rainy"))
temperature = int(input("Type 1 if it is hot, Type 2 if it cold"))
if weather and temperature == 1:
print("It is a great day to go to the pool")
else:
print("It isn't a good day to go to the pool")
It is a great day to go to the pool
# Popcorn Hack 3
A = True
if not A:
print("A if false)")
if not False:
print("A is true")
A is true
# Popcorn Hack 4
A = True
B = False
if A ^ B:
print("ronitisbatman")
else:
print("ronitisntbatman")
A = False
B = False
if A ^ B:
print("vanceisbatman")
else:
print("vanceisntbatman")
ronitisbatman
vanceisntbatman
# HOMEWORK HACK 1