Generation

generate functionMon, 20 Feb 2023

triangle of #

def triangle(rows): for i in range(0, rows): for j in range(0, i + 1): print("#", end=' ') print("\r")

Want to kickstart your project?Use the new AI Studio to create your code