• 2022-06-03
    要控制循环体执行3次,下列程序哪个正确?
    A: for x in range(1, 3):<循环体>
    B: while y>=1 and y<=3 :<循环体>
    C: for z in {"A":1,"B":2,"C":3}:<循环体>
    D: for a in [1,2,3,4]:<循环体>
  • 举一反三