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
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 hashes)
Built Distribution
Close
Hashes for banner_hamsunwoo-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8886f4e7506181833488b0700aac76ca0057b613a8691ae54ac0cba57c2671f1 |
|
MD5 | 0ad4e5c7d8fc91d4c1e5b2b7c1b16ac1 |
|
BLAKE2b-256 | 636d6864e226743d5634154e8201677b97f9e997fa60cda2fd7b37abeab43fd6 |