+ 2

Pls go to my profile and see the code "my doubt" can pls explain how the code will iterate and pls explain me the 4th line,thnx

could not share the code check out my recent code and pls explain me thnx.

18th Apr 2017, 1:28 PM
Aryan
Aryan - avatar
4 odpowiedzi
+ 5
I have linked an extensively commented version of your code in question explaining both the iteration part plus your original fourth line: x,y==y,x+y. The main thing about your original fourth line is you are using the == operator and not the = operator. See my comments at the bottom for an explanation how your code would differ using the = operator. https://code.sololearn.com/cNL4O50fF5R2/?ref=app
18th Apr 2017, 1:57 PM
Bryan Boyett
Bryan Boyett - avatar
0
https://code.sololearn.com/cbe7ruF4kaRh/?ref=app
18th Apr 2017, 1:29 PM
Aryan
Aryan - avatar
0
pls explain the above code tell me how it iterates as I didn't get the iteration part and pls explain me the fourth line.
18th Apr 2017, 1:30 PM
Aryan
Aryan - avatar
0
Thanks Bryan ur answer was very helpful, now I have understood the code becoz of ur help,thanks for all the efforts that u made in writing the comments,and thanks for pointing out the mistake of '==',thanks alot Bryan:)
18th Apr 2017, 2:34 PM
Aryan
Aryan - avatar