充值活动已开启,快来参与吧 关闭充值活动
当前位置: 初中信息技术 /
  • 1. 下列Python序列解包,正确的输出是?(  )

    fruit=['apple','peach','orange']

    weight=[65,77,68]

    for i, j in zip(fruit,weight):

         print(i,j,end=' ')

    A . 'apple','peach','orange',65,77,68 B . apple peach orange 65 77 68 C . apple 65 peach 77 orange 68 D . apple 65 , peach 77 , orange 68
基础巩固 换一批
  • 1. 已知一个列表lst = [2,3,4,5,6],lst.append(20),print(lst)的结果是?(  )
    A . [10,2,3,4,5,6,20] B . [20,2,10,3,4,5,6] C . [2,3,4,5,6,20] D . [2,3,4,5,6,10,20]
  • 2. 水果店管理员现有列表 fruits = ['apple', 'orange', 'banana', 'peach'] ,当前卖出苹果('apple'),需要删去列表元素'apple',正确的操作是?(  )
    A . del fruits[0] B . del fruits['apple'] C . del fruits[1] D . del fruits[apple]
  • 3. 线性表若采用链式存储结构时,要求内存中可用存储单元的地址(   )
    A . 必须是连续的 B . 部分地址必须是连续的   C . 必须是不连续的 D . 连续不连续都可以