Program Segitiga Siku - Siku
Listing
n=int(input("Masukkan Tinggi Segitiga = "))
for i in range(n):
for j in range(i+1):
print "*",
print
n=int(input("Masukkan Tinggi Segitiga = "))
for i in range(n):
for j in range(i+1):
print "*",
Output
Komentar
Posting Komentar