15 元组强制转换

强制转换

  • tuple('adfadfasdfasdfasdfafd')

    元组转换元组无意义

v1 = tuple('adfadfasdfasdfasdfafd')
print(v1)
  • tuple([11,22,33,44])
v1 = tuple([11,22,33,44])
print(v1)
posted @ 2024-09-25 20:51  jhchena  阅读(4)  评论(0编辑  收藏  举报