i am trying to create a program that uses * to make triangles depending on how big the user wishes to make them. This is the code i have so far however have no idea where to go from here.. can anyone help?? thankyou
def triangle():
totalRows = int(eval(input("Please enter a number: ")))
for currentRows in range(1,totalRows+1),:
for currentCol i range (1, currentRow+1):
print("*", end = " ")
main()