#try to avoid input function
a = int(input("Enter a Number"))
b = int(input("Enter a Number"))
c = int(input("Enter a Number"))
if a < b and a < c:
if b < c:
print(b,"is the second largest number")
else:
print(c,"is the second largest number")
elif b < a and b < c:
if a < c:
print(a,"is the second largest number")
else:
print(c,"is the second largest number")
else:
if a < b:
print(a,"is the second largest number")
else:
print(b,"is the second largest number")
Click the run button. Try to avoid input() function.