def represent_argument(arg):
    """
    Represent argument in a string.

    If argument has spaces represents string with quotation marks ".
    """
    sarg = str(arg)
    if sarg.count(' ') > 0:
        return '{!r}'.format(sarg)
    else:
        return sarg
