MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-Python-Course / pattern

Function pattern

Chapter 8 - PS/05_problem5.py:1–5  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

1def pattern(n):
2 if(n==0):
3 return
4 print("*" * n)
5 pattern(n-1)
6
7
8pattern(3)

Callers 1

05_problem5.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected