import getpass


def get_cred(username):
    """Get credentials (password) for a given username."""
    password = getpass.getpass('Please enter password for {}: '.format(username))
    return (username, password)