MCPcopy Create free account
hub / github.com/AdarshAddee/Hacktoberfest2022_for_Beginers / character

Function character

Python/character_pattern.py:15–29  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

13
14
15def character(n):
16
17 num = 65
18
19 for i in range(0, n):
20
21 for j in range(0, i+1):
22
23 ch = chr(num)
24
25 print(ch, end=" ")
26
27 num = num + 1
28
29 print("\r")
30
31n = int(input("Enter the number of rows : "))
32character(n)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected