<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def string(num, length, digits=False, upper=True, lower=True, unique=False):
 """Random strings."""

    function = 'strings'
    # Convert arguments to random.org style
    # for a discussion on the method see: http://bit.ly/TKGkOF
    digits = convert(digits)
    upper = convert(upper)
    lower = convert(lower)
    unique = convert(unique)

    opts = {'num': num,
            'len': length,
            'digits': digits,
            'upperalpha': upper,
            'loweralpha': lower,
            'format': 'plain',
            'rnd': 'new'}
    seq = get_http(RANDOM_URL, function, opts)
    seq = seq.strip().split('\n')  # convert to list
    # seq_arr = str_to_arr(seq)
    return seq