HCPC Print ASCII building by Brady

def p(x,c):
    s=''
    for i in range(x):
        s+=c
    print(s,end='')
def l(e,c,n):
    for i in range(n):
        p(e,' ')
        p(c,'*')
        print()
l(4,2,2)
l(3,4,7)
l(0,10,3)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page