【发布时间】:2016-08-18 02:34:02
【问题描述】:
a=str(input("Enter string: "))
b=str(input("Enter another: "))
def switch(x, y):
x, y = y, x
return x, y
print (switch(a, b))
输出例如:('there', 'hello') 我想删除括号和 ''
【问题讨论】:
-
不打印列表,分别打印每个元素。
标签: python python-3.x output