import random as rd

maior = 0

for i in range(10):
    num = rd.randint(1, 50)
    print(num)
    
    if num > maior:
        maior = num

print("\nO maior número entre os aleatórios é " + str(maior))

Embed on website

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