triangle

PythonF

Triangle Pattern – 002

Given an odd integer N, print a triangle with * as mentioned in the below examples. Input Format: The first line contains N. Output Format:…