• 2022-06-05
    以下代码的输出结果是【】。food_counter = 0def addone(food):if food in food_counter:food_counter[food] += 1else:food_counter[food] = 1addone('egg')addone('milk')addone('egg')print(food_counter)
    A: {'egg':1, 'milk':1, 'egg':1}
    B: {'egg':1, 'milk':1}
    C: {'egg':2, 'milk':1}
    D: {'egg':2, 'milk':1, 'egg':1}
  • C

    内容

    • 0

      I had __________egg and some milk for breakfast this morning. A: a B: an C: the D: /

    • 1

      以下是healthy food的有: A: ice cream B: bread C: egg D: fish E: vegetable F: rice G: noodles

    • 2

      This morning I had ____ egg and ____ bottle of milk for my breakfast. A: an; a B: a; a C: the; an D: a; an

    • 3

      For Stanley, which of the following is available for breakfast? A: Bread, biscuits, milk, ice-cream B: Milk, bread, biscuit and orange C: Egg, bread, biscuit, and milk

    • 4

      In this passage, "artificial food" refers to food made from ______. A: milk B: grain C: protein D: soybeans