• 2022-06-01
    set1 = {x for x in range(10)} print(set1) 以上代码的运行结果为?
    A: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
    B: {0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10}
    C: {1, 2, 3, 4, 5, 6, 7, 8, 9}
    D: {1, 2, 3, 4, 5, 6, 7, 8, 9,10}
  • 举一反三