+ 2
can someone please explain to me how i got this output?
x = 7 y = 5 x,y=y,x print (x,y) and then i will get : 5 7 the purpose is to switch the variables ... i did not understand how x,y=y,x switched the variables thanx ps: am a beginner i just started learning and it is my first exercise in python
3 Antworten