• 2021-04-14
    下面代码的执行结果是:
    ls = [“2020”, “2020”, “Python”]
    ls.append(2020)
    ls.append([2020, “2020”])
    print(ls): [‘2020’, ‘2020’, ‘Python’, 2020, 2020, ‘2020’]|[‘2020’, ‘2020’, ‘Python’, 2020, [2020, ‘2020’]]|[‘2020’, ‘2020’, ‘Python’, 2020, [‘2020’]]|[‘2020’, ‘2020’, ‘Python’, 2020]
  • 举一反三