Answers for "Write a python programme for the following pattern. User will enter the number of lines for the output. [This is a pattern for n=5.]"

0

* pattern by python

def pattern(n):    
  for i in range(0,n):       
    for j in range(0, i+1): 
      print("* " , end="")         
      print("r") pattern(5
Posted by: Guest on December-02-2020

Code answers related to "Write a python programme for the following pattern. User will enter the number of lines for the output. [This is a pattern for n=5.]"

Python Answers by Framework

Browse Popular Code Answers by Language