Python interview questions--tuple trap

Insert picture description here
Note: When defining tuples, because "()" has the meaning of operation priority, the first definition is actually an int data type and is not a tuple type. We can define only one through the second type Puple container of elements

Guess you like

Origin blog.csdn.net/XY0918ZWQ/article/details/111147985