运行 ❯
获得您
自己的 Python
服务器
×
更改方向
更改主题,深色/浅色
转到 Spaces
a = ("John", "Charles", "Mike") b = ("Jenny", "Christy", "Monica") x = zip(a, b) #use the tuple() function to display a readable version of the result: print(tuple(x))
(('John','Jenny'), ('Charles','Christy'), ('Mike','Monica'))