Lists in Python

前端 未结 7 2132
太阳男子
太阳男子 2021-01-07 05:20

Is the List in python homogeneous or heterogeneous?

7条回答
  •  孤城傲影
    2021-01-07 05:46

    Please try a simple

    a=[1, "a"]
    

    and see if it throws an error before asking a question.

    Btw, it does not.

提交回复
热议问题