(data)
return data
Prompt user for username and password.
Prompt user for username and password.
Prompt user for username and password .
def prompt_login_data(data):
    """Prompt user for username and password."""
    if data["username"] is None:
        data["username"] = input("Username:")
    if data["password"] is None:
        data["password"] = getpass("Password:")

    return data
def prompt_login_data ( data ) : if data [ "username" ] is None : data [ "username" ] = input ( "Username:" ) if data [ "password" ] is None : data [ "password" ] = getpass ( "Password:" ) return data