import string
import random


def randstr(n):
    """
    This function returns a random string which has n length.
    The alphabets are [0-9a-zA-Z].
    So randstr(n) can return *42^n* kinds of strings.

    @example
    randstr(10) -> 42^10 = 1.70802e+16
    randstr(12) -> 42^12 = 3.012947e+19
    """
    alphabets = string.digits + string.letters
    return ''.join(random.choice(alphabets) for i in xrange(n))

c3b4cc3df2f4b97cd7739cfd0911f9405d6be0e0
<mask token>

<mask token>


def randstr(n):
    """
    This function returns a random string which has n length.
    The alphabets are [0-9a-zA-Z].
    So randstr(n) can return *42^n* kinds of strings.

    @example
    randstr(10) -> 42^10 = 1.70802e+16
    randstr(12) -> 42^12 = 3.012947e+19
    """
    alphabets = string.digits + string.letters
    return ''.join(random.choice(alphabets) for i in xrange(n))

import string
import random


def randstr(n):
    """
    This function returns a random string which has n length.
    The alphabets are [0-9a-zA-Z].
    So randstr(n) can return *42^n* kinds of strings.

    @example
    randstr(10) -> 42^10 = 1.70802e+16
    randstr(12) -> 42^12 = 3.012947e+19
    """
    alphabets = string.digits + string.letters
    return ''.join(random.choice(alphabets) for i in xrange(n))
