Python Loop Questions
Python Loop Questions
**
***
*****
Write a program to flatten a nested list using loops only.
nd the greatest common divisor (GCD) of two numbers using a loop.
Write a program to print elements of two lists alternatively using a single loop.
Write a program to create a list of cumulative sums from another list, e.g., [1, 2, 3, 4] becomes [1, 3, 6