Untitled
unknown
python
4 years ago
260 B
7
Indexable
a, b, c = int(input()), int(input()), int(input()) # a, b, c = 2, 2, 3 ma, mi, me = a, b, c if b > ma: # me = ma ma = b if c > ma: me = ma ma = c if a < mi: # me = mi mi = a if c < mi: me = mi mi = c print(ma, mi, me, sep='\n')
Editor is loading...