ShriRam Changed status to publish August 18, 2023
n=input(“Enter Number”);
n=int(n)
i = 1
while (i <= n):
no=input("Enter No")
no=int(no)
if(i==1):
large = no
slar = no
elif no > large:
slar=large;
large=no;
elif no > slar:
slar=no;
i = i+ 1
print(large)
print(slar)
ShriRam Changed status to publish August 18, 2023