16 lines
405 B
Python
Raw Normal View History

2021-04-19 16:00:08 +00:00
print("I will count my chickens:")
print("Hens", 25 + 30 / 6) #should print 30
print("Roosters", 100 - 25 * 3 % 4) #maybe 98?
print("Now I will count the eggs:")
print(3 + 2 + 1 -5 + 4 % 2 - 1 / 4 + 6)
print("Is it true that 3 + 2 < 5 - 7?")
print(3 + 2 < 5 - 7) #should print a boolean Ie. True/False
print("What is 3 + 2?", 3 + 2)
print("What is 5 - 7?", 5 - 7)
print("Oh, that's why it's False.")