import random
import string


def rndstr(length):
    """Generate random string of given length which contains digits and lowercase ASCII characters"""
    return ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(length))