class MaxFinder:
    def __init__(self, numbers):
        self.numbers = numbers

    def find_max(self):
        max_val = self.numbers[0]
        for num in self.numbers:
            if num > max_val:
                max_val = num
        return max_val

nums = []
for i in range(5):
    nums.append(int(input()))

finder = MaxFinder(nums)
print("가장 큰 숫자:", finder.find_max())

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: