#try to avoid input function
a = input("Enter first three characters of your ID")
if a == "s20":
print("your PUC-2 student")
elif a == "s21":
print("your PUC-1 student")
else:
print("invalid input")
Click the run button. Try to avoid input() function.