task2.py

x,y=eval(input('Enter two numbers:'))
print(f'x={x},y={y}')
x,y=y,x
print(f'x={x},y={y}')

posted @ 2021-04-02 19:30  你是年少一梦  阅读(23)  评论(0编辑  收藏  举报