Help me in solving PYPRACREARR1 problem

My issue

A user enters ten numbers. Write a program that will print the largest of these numbers once all of the numbers have been entered.

For example:

Input Result
90
1
11
78
100
999
128
302
9
0
999

Learning course: Practice Python
Problem Link: Rearrange Code Practice Problem in Python - CodeChef

Your link doesn’t seem to go to the problem you are saying. I’ll assume you are learning how to read multiple integers in distinct lines, then cast them into integers, and choose the biggest. You could solve this in you ways:

list_numbers = []
for i in range(10):
    num = int(input())
    list_numbers.append(num)

biggest = max(list_numbers)
print(biggest)

Or

biggest = float('-inf')
for i in range(10):
    num = int(input())
    biggest = max(biggest, num)

print(biggest)