0

Is it possible to simplify this code segment

https://code.sololearn.com/cIuRFoCpXoPB/?ref=app

12th Aug 2019, 2:54 AM
sathya
sathya - avatar
2 Answers
+ 6
You can swap variable values in Python by doing a, b = b, a
12th Aug 2019, 3:00 AM
Hatsy Rei
Hatsy Rei - avatar
0
Hatsy Rei inside print statement
12th Aug 2019, 3:03 AM
sathya
sathya - avatar