使用列表推导来对列表中的每个奇数。 该列表由一系列逗号分隔的数字输入。假设为程序提供了以下输入:1,2,3,4,5,6,7,8,9然后,输出应该是:1,3,5,7,9
A daughter complained to her father about her life and how things were so hard for her. She was1of fighting and struggling. It seemed as one problem was solved a new one appeared.Her father, a cook, took her to the2. He filled three pots with3and placed each on a high fire. In one he placed carrots, in the second4, and in the last ground(磨碎的) coffee beans.The daughter5waited, wondering what he was doing. In about twenty minutes he6the fire. He fished the carrots out and placed them in a bowl. He7the eggs out and placed them in a bowl. Then he poured the8out and placed it in a cup.9to her he asked, "Darling, what do you see?""Carrots, eggs, and coffee." she replied.He brought her closer and asked her to10the carrots. She did and said that they were11. He then asked her to take an egg and12it. After pulling off the13, she observed the hard-boiled egg. Finally, he asked her to drink the coffee. She smiled, as she14its rich aroma(芳香)."What does it15, Father?" she asked.He explained that each of them had16 the same adversity(逆境), boiling water, but each reacted17. The carrot went in strong and hard but then it turned softened and weak. The egg had been fragile(易碎的), but at last its inside became18. The ground coffee beans were unique, however, after they were in the boiling water, they had19the water."Which are you?" he asked his daughter.When adversity knocks on your door, how do you20? Are you a carrot, an egg, or a coffee bean?1: A.tiredB.ashamedC.fond D.proud2: A.hall B.kitchenC.living roomD.bathroom3: A.MilkB.sugarC.water D.powder4: A.rice B.eggs C.apples D.potatoes5: A.impolitelyB.carelessly C.vengefully D.impatiently6: A.put on B.put off C.turned on D.turned off7: A.wipedB.pulled C.cleanedD.washed8: A.wine B.pot C.beans D.coffee9: A.Lying B.TalkingC.TurningD.Devoting10: A.cut B.buy C.feel D.cook11: A.soft B.hard C.coldD.dirty12: A.sell B.boilC.hold D.break13: A.plug B.shell C.road D.program14: A.made B.tastedC.servedD.observed15: A.Mean B.cost C.matter D.contain16: A.facedB.studiedC.provided D.recognized17: A.finallyB.equally C.differentlyD.successfully18: A.upset B.hardenedC.effectiveD.accustomed19: A.wasted B.skimmedC.pollutedD.changed20: A.find B.know C.respondD.Practise