import string
import random


def string_generator(string_length=10):
    """
    Generate a random string of letters, digits and special characters

    """

    password_characters = string.ascii_letters + string.digits + string.punctuation.replace(',', '').replace('@', '')
    new_string = ''.join(random.choice(password_characters) for _ in range(string_length))
    rand = random.randint(161, 563)
    return new_string + chr(rand)