import random
import string


def generate_verification_code() -> str:
    """Generate a random 6-digit code

    Returns:
        str: a 6-digit code in string format .e.g '654874'
    """
    return "".join(random.choices(string.digits + string.digits, k=6))