25. Python Program to Rotate the Values of Three Variables
MediumHow they work
Overview
Rotate values between multiple variables.
Problem Statement
Rotate values between three variables in one operation.
Constraints:
- Start with
a = 1,b = 2,c = 3 - After rotation: a=2, b=3, c=1
- Print all three variables after rotation
Input
- No input required
Output
2 3 1