Python Program to input any number and print a star triangle


num=int(input('Enter any value : '))

for i in range(num+1):

   print('*'*i)

Comments

Some popular posts

Python Program that computes the net amount of a bank account based a transaction log from console input.