Write a function that gets the user’s username and password….
Write a function that gets the user’s username and password. Then it checks if the username exists in a pre-defined dictionary of the registered users. If the username is found, then it checks for the corresponding password. If the password matches, then it returns (True) value. If the password does not match, it returns “False”. If the username does not exist in the dictionary, it asks for a new username and password and informs them that “user not found”.
Read Details