for i in range(0,3):
    userid=input("enter user id:")
    password=input("enter password:")
    if userid=="rohit" and password=="1234":
        print("logged in")
        break
else:
    print("incorrect id or password")


