It's setting a equal to b, and b equal to a+b. Achieved by this as well: a = 0 b = 1 while b < 100: print b a = b b=a+b They just used some short hand statements. This : num1,num2 = 12,72 Is the same thing as : … Read More
Traditional way to do this is by temporary variable, because we need the old value of b in two formulas on the right side. Let's call the temporary variable new_b: [CODE]a,b=0,1 while b < 100: print b new_b = a + b a = b b = new_b [/CODE] alternatively … Read More