• 2022-06-09 问题

    程序运行结果为(______ )fruit = ['apple', 'banana', 'mango', 0]for item in fruit: if item == 0: fruit[item] = 'watermelon' elif item == 'mango': fruit[2] = 'pear'print(fruit)

    程序运行结果为(______ )fruit = ['apple', 'banana', 'mango', 0]for item in fruit: if item == 0: fruit[item] = 'watermelon' elif item == 'mango': fruit[2] = 'pear'print(fruit)

  • 2022-06-09 问题

    下列代码的运行结果是()fruit=('blue',1234,('apple','pear','peach','mango'))fruit[-1][1] A: apple B: pear C: peach D: mango

    下列代码的运行结果是()fruit=('blue',1234,('apple','pear','peach','mango'))fruit[-1][1] A: apple B: pear C: peach D: mango

  • 2022-06-09 问题

    下列代码的运行结果是()<br/>&gt;&gt;&gt;fruit=('blue',1234,('apple','pear','peach','mango'))<br/>&gt;&gt;&gt;fruit&#91;-1&#93;&#91;2&#93; A: peach B: apple C: mango D: pear

    下列代码的运行结果是()<br/>&gt;&gt;&gt;fruit=('blue',1234,('apple','pear','peach','mango'))<br/>&gt;&gt;&gt;fruit&#91;-1&#93;&#91;2&#93; A: peach B: apple C: mango D: pear

  • 2022-06-15 问题

    字典fruit={'apple':'red','peach':'pink','lemon':'orange'},fruit&#91;'lemon'&#93;的结果是( )。 A: 'pink' B: 'red' C: 'orange' D: Orange

    字典fruit={'apple':'red','peach':'pink','lemon':'orange'},fruit&#91;'lemon'&#93;的结果是( )。 A: 'pink' B: 'red' C: 'orange' D: Orange

  • 2022-06-09 问题

    下列语句执行后,di&#91;'fruit'&#93;&#91;1&#93;值为 。di={'fruit':&#91;'apple','banana','orange'&#93;}di&#91;'fruit'&#93;.append('watermelon')

    下列语句执行后,di&#91;'fruit'&#93;&#91;1&#93;值为 。di={'fruit':&#91;'apple','banana','orange'&#93;}di&#91;'fruit'&#93;.append('watermelon')

  • 2022-06-09 问题

    中国大学MOOC: 下列语句执行后,print(di&#91;‘fruit’&#93;&#91;1&#93;)值为【 】di={‘fruit’:&#91;‘apple’,’banana’,’orange’&#93;}di&#91;fruit&#93;.append(‘watermelon’)

    中国大学MOOC: 下列语句执行后,print(di&#91;‘fruit’&#93;&#91;1&#93;)值为【 】di={‘fruit’:&#91;‘apple’,’banana’,’orange’&#93;}di&#91;fruit&#93;.append(‘watermelon’)

  • 2022-06-16 问题

    草莓果实类型是 (The fruit of strawberry is typed as) A: 聚花果 (Collective Fruit) B: 聚合果 (Aggregate Fruit ) C: 浆果 (Berry) D: 单果 (Single Fruit )

    草莓果实类型是 (The fruit of strawberry is typed as) A: 聚花果 (Collective Fruit) B: 聚合果 (Aggregate Fruit ) C: 浆果 (Berry) D: 单果 (Single Fruit )

  • 2022-06-17 问题

    The fruit grower said to the visitors, "Just __________ the fruit to see if it's ripe."

    The fruit grower said to the visitors, "Just __________ the fruit to see if it's ripe."

  • 2022-05-27 问题

    According to the Bible, Adam and Eve could eat any fruit in the garden, except the fruit from the _________, and the fruit from the Tree of Knowledge of Good and Evil.

    According to the Bible, Adam and Eve could eat any fruit in the garden, except the fruit from the _________, and the fruit from the Tree of Knowledge of Good and Evil.

  • 2022-06-17 问题

    下列对shell变量FRUIT操作,正确的是() A: 为变量赋值:$FRUIT=apple B: 显示变量的值:fruit=apple C: 显示变量的值:echo$FRUIT D: 判断变量是否有值:[-f“$FRUIT”]

    下列对shell变量FRUIT操作,正确的是() A: 为变量赋值:$FRUIT=apple B: 显示变量的值:fruit=apple C: 显示变量的值:echo$FRUIT D: 判断变量是否有值:[-f“$FRUIT”]

  • 1 2 3 4 5 6 7 8 9 10