Python: converting list of lists to tuples of tuples

后端 未结 2 781
轻奢々
轻奢々 2020-12-16 12:19

A Python newbie! I need help converting a list of lists tuples of tuples.

I want to call the append_as_tuples function, but every time I return it, it says
it ca

2条回答
  •  难免孤独
    2020-12-16 13:06

    there is a python built in function: list and tuple

    list( the tuple)...to conver tuple to list tuple( the list )....to convert list to tuple

提交回复
热议问题