'Load up a Cycle instance with the values for the cycle.
Examples
>>> from sympy.combinatorics.permutations import Cycle
>>> Cycle(1, 2, 6)
(1 2 6)'

def __init__(self, *args):

    if (not args):
        return
    if (len(args) == 1):
        if isinstance(args[0], Permutation):
            for c in args[0].cyclic_form:
                self.update(self(*c))
            return
        elif isinstance(args[0], Cycle):
            for (k, v) in args[0].items():
                self[k] = v
            return
    args = [as_int(a) for a in args]
    if any(((i < 0) for i in args)):
        raise ValueError('negative    integers    are    not    allowed    in    a    cycle.')
    if has_dups(args):
        raise ValueError('All    elements    must    be    unique    in    a    cycle.')
    for i in range((- len(args)), 0):
        self[args[i]] = args[(i + 1)]
