# -*- coding: utf-8 -*-
print"I will not count my chickens:"

print"Hens", 25.0 + 30 / 6
print"Roosters", 100.0 - 25 * 3 % 4.0#余数运算

print"Now I will count the eggs:"

print 3.0 + 2 + 1 - 5 + 4.0 % 2.0 - 1 / 4 + 6#运算优先级

print"Is it true that 3 + 2 < 5 - 7?"

print 3.0 + 2 < 5 - 7#直接显示运算正确与否

print"what is 3 + 2?",3.0 + 2
print"what is 5 - 7?",5.0 - 7

print"Oh,that's why it's False."

print"How about some more."

print"Is it greater?",5.0 > -2
print"Is it greater or equal",5.0 >= -2
print"Is it less or eaqul?",5.0 <= -2



print 12 * 6 # 。意思一下
# 浮点数就是小数==。因为python版本不同浮点数处理稍微不同。
# 重写就是整数后面加个.0，照做了233
print"I will not count my chickens:"
print"Hens", 25.0 + 30.0 / 6.0
print"Roosters", 100.0 - 25.0 * 3.0 % 4.0
print"Now I will count the eggs:"
print 3.0 + 2.0 + 1.0 - 5.0 + 4.0 % 2.0 - 1.0 / 4.0 + 6.0
print"Is it true that 3 + 2 < 5 - 7?"
print 3.0 + 2.0 < 5.0 - 7.0
print"what is 3 + 2?",3.0 + 2.0
print"what is 5 - 7?",5.0 - 7.0
print"Oh,that's why it's False."
print"How about some more."
print"Is it greater?",5.0 > -2.0
print"Is it greater or equal",5.0 >= -2.0
print"Is it less or eaqul?",5.0 <= -2.0
