Skip to main content

Banner Output Program

Project description

askii art_hamsunwoo

.........::.........
......=##%#%*=......
....:##%%%%%#%+.....
....=#%##%%#%%#*:...
..:*##%%%%%%#%%#*...
...+#*##%%%#%%%#....
...:*-***+#*%%+*-...
....-=:.:%:-+=......
.........+..........
.........+..........
....................

Synopsis

이미지를 아스키 아트로 바꾸고 로또번호가 출력되는 기능 추가

test

pip install hamsunwoo-pic
pip install hamsunwoo-lotto

사용법

from pyfiglet import Figlet

def show():
    f = Figlet(font='slant')
    print(f.renderText('Hamburger'))

def pic():
    p = """
        .........::.........
......=##%#%*=......
....:##%%%%%#%+.....
....=#%##%%#%%#*:...
..:*##%%%%%%#%%#*...
...+#*##%%%#%%%#....
...:*-***+#*%%+*-...
....-=:.:%:-+=......
.........+..........
.........+..........
....................
"""
    print(p)

def lotto():
    import random
    l = random.sample(range(1,46), 6)
    print(l)

Thanks

ham

License

hamsunwoo

urls

Repository Issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

banner_hamsunwoo-0.3.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

banner_hamsunwoo-0.3.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page