用Python模拟猜数字游戏:1)系统随机生成一个1~100的数字;2)用户总共有5次猜数字的机会;3)如果用户猜测的数字大于系统给出的数字,打印“too big;4)如果用户猜测的数字小于系统给出的数字,打印toosmall;5)如果用户猜测的数字等于系统给出的数字,打印恭喜,并且退出循环;编写程序代码如下,请完善代码: #导入random模块 #随机生成1-100的整数并赋值给变量gametime=5while time>0: guess=int (input (请输入你所猜的数字:)) if (guess>game) :print (too big) elif29、根据短文内容完成文后的图表。
How to drink tea
All around the
world, people drink tea.But
tea does not mean the same thing to everyone.
In China, for example, tea is
always served (招待)when
people get together.The Chinese drink it at any time of
day at homes or in teahouse.They prefer their tea
plain, with nothing else in it.
Tea is also important in Japan.The Japanese have a special (特别的)way of serving tea called a tea ceremony (仪式).It is very old and full of meaning.Everything
must be done in a special way in the ceremony.There is
even a special room for it in Japanese homes.
Another tea-drinking country is
England.In England, the
late afternoon is “teatime”.Almost
everyone has a cup of tea then.The English usually make
tea in teaport and drink it with cream and sugar.They
also eat cakes, cookies and little sandwishes at teatime.
Different people have different
ways of drinking tea.