Hi I need some help on making a python program that reads an integer from a user... and it should print out a series of * characters that form a right triangle..
Some sample output:
Enter an integer: 3
*
**
***
Enter an Integer: 4
*
**
***
****
It should look like that...
This is what i have so far:
integer = input("Enter an Integer:")
if (integer>0):
b = integer
h = integer
a = 0.5*b*h
print a
Not sure how to go on?
Thanks everyone for the help!