triangles

PythonF

N Triangles Pattern

The program must accept an integer N as the input. The program must print N triangles numbered from 1 to N based…