The code I used:
cat = int(input("Estimated total cats? "))
catglow = int(input("How many cats are glowing? "))
if cat > catglow:
print("Not all the cats are glowing.")
else:
print("All the cats are glowing.")
The interaction looked like this:
Estimated total cats? 100
How many cats are glowing? 50
Not all the cats are glowing.
Estimated total cats? 100
How many cats are glowing? 50
Not all the cats are glowing.
No comments:
Post a Comment