Create a Python program to print numbers from 1 to 10 using a while loop. ... Like if we take n as 4. so in the first iteration i=1 and sum = 0 + 1 as sum ...
確定! 回上一頁