题解 | #按照格式输入并交换输出#
按照格式输入并交换输出
http://www.nowcoder.com/practice/95eb723a3e854376a7eb6d116cc7d875
num = input().replace("=", " ").replace(",", " ").split(" ")
m1, m2, m3, m4 = num
print("%s=%s,%s=%s" % (m1, m4, m3, m2))
按照格式输入并交换输出
http://www.nowcoder.com/practice/95eb723a3e854376a7eb6d116cc7d875
num = input().replace("=", " ").replace(",", " ").split(" ")
m1, m2, m3, m4 = num
print("%s=%s,%s=%s" % (m1, m4, m3, m2))
相关推荐