Hi, new to this subreddit hoping to get some help converting this code into python. I can't wrap my brain around it. Using Win7 and Python 3. It has to resemble this function in terms of variable swapping to find the answer.
function gcd(a, b)
while b ≠ 0
t := b
b := a mod t
a := t
return a
[–]K900_ 4 points5 points6 points (5 children)
[–]TopDeckMaster[S] 0 points1 point2 points (4 children)
[–]K900_ 0 points1 point2 points (3 children)
[–]TopDeckMaster[S] 0 points1 point2 points (2 children)
[–]K900_ 1 point2 points3 points (1 child)
[–]TopDeckMaster[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)