Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

* pattern by python

def pattern(n):    
  for i in range(0,n):       
    for j in range(0, i+1): 
      print("* " , end="")         
      print("
") pattern(5
 
PREVIOUS NEXT
Tagged: #pattern #python
ADD COMMENT
Topic
Name
3+1 =