import random


def random_password(length, printable):
    """
    Provides a Random String of the given length.
    :param printable: The string for Random String
    :param int length: The length of the password to generate.
    """

    return "".join([random.choice(printable) for x in range(int(length))])