Program Deret Sederhana Python

Listing

a = input("Masukkan Batas : ")
b = 1
while b <= a :
    print b,

    b = b + 1

Output



Komentar