[Solved] What does this function with a, b = b, a + b do? [closed]
To summarize: The function prints out the first N numbers in the Fibonacci sequence. This is a sequence starting with 1, 1 and each following term is the sum of the two previous terms. a, b = b, a + b Here, you have 2 variables. a is always the current term and b is … Read more