Ответ:
Первый вариант
a = int(input())
b = int(input())
c = int(input())
max_number = [a, b, c]
print(max(max_number))
Второй вариант
if a > b and a > c:
print(a)
elif b > a and b > c:
print(b)
elif c > a and c > b:
print(c)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
Первый вариант
a = int(input())
b = int(input())
c = int(input())
max_number = [a, b, c]
print(max(max_number))
Второй вариант
a = int(input())
b = int(input())
c = int(input())
if a > b and a > c:
print(a)
elif b > a and b > c:
print(b)
elif c > a and c > b:
print(c)