#Jonathan Hudson #Student Number 12347890 #Date: 2020-08-26 #Lecture Practice iHeight = int(input("Please enter the height of the triangle: ")) for i in range(iHeight): row = "" for j in range(iHeight-i-1): row += " " for j in range(i*2 +1): row += "*" print(row)