Using a function, make a program that reads 10 integers and print the largest of them on the screen. For equal values, print any of the larger values. If the largest number is multiple of the first number n
read, print n
on the screen. Ten integer numbers, consider that the first number read will never be 0.
Can anyone help me with this? I'm still a layman in Python.
n = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())
f = int(input())
g = int(input())
h = int(input())
i = int(input())
j = int(input())
lista = [n,b,c,d,e,f,g,h,i,j]
print (max(lista))