numbers = input("> ").split(" ")
max_number = numbers[0]
i = 1
while i < 7:
if int(numbers[i]) > max_number:
max_number = int(numbers[i])
i += 1
print(max_number)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
numbers = input("> ").split(" ")
max_number = numbers[0]
i = 1
while i < 7:
if int(numbers[i]) > max_number:
max_number = int(numbers[i])
i += 1
print(max_number)