python-CSD-kursu/kosul.operatoru.4.py

7 lines
135 B
Python
Raw Normal View History

2023-05-21 17:45:43 +03:00
a = int(input('a:'))
b = int(input('b:'))
c = int(input('c:'))
max = (a if a > c else c) if a > b else (b if b > c else c)
print(max)