Программа:
Python:
x, y = int(input('x = ')), int(input('y = '))
if x < y:
x, y = y, x
print(f'x = {x}; y = {y}')
else:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Программа:
Python:
x, y = int(input('x = ')), int(input('y = '))
if x < y:
x, y = y, x
print(f'x = {x}; y = {y}')
else:
print(f'x = {x}; y = {y}')