Tipalti Interview Question

What does the next function do? F, N =1,2 while F < 500: print(F) F, N = N,F+N

Interview Answer

Anonymous

Feb 18, 2023

prints all the numbers in Fibonacci sequence from 1 to 377