# Python 3.7
def container(*variables): return tuple(variables)
def inverted(_container): return _container[ :: (-1) ]
A='variable A to C'
B='variable B to B'
C='variable C to A'
inputs=container(A, B, C)
outputs=inverted(inputs)
(A, B, C)=outputs
print(A, B, C, sep='\n')