name="admin"
passw="aaa"
itemone="01"
itemtwo="02"
a=input("Enter your username:")
b=input("Enter your password:")
if(a==name)and(b==passw):
print("Welcome.")
c=int(input("Enter Item Code:"))
if(c==itemone):
print("Name: ID")
elif(c==itemtwo):
print("Name: Mirror")
else:
print("Item not found. Try again.")
else:
print("Username/Password is incorrect.")
exit()
Aucun commentaire:
Enregistrer un commentaire