File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Adding a new Character
2- 1 . Choose the new character and first test it's output using ` cowsay.draw ` method
3- ```
2+ 1 . Choose the new character and first test it's output using ` cowsay.draw() ` method
3+ ``` console
44 # https://www.asciiart.eu/animals
55
66 >>> scorpion = r"""
2222 `---'
2323 """
2424
25- >>> cowsay.draw('Hello I am Scorpion', scorpion)
26- ___________________
27- | Hello I am Scorpion |
28- ===================
29- \
30- \
31- \
32- ___ ___
33- ( _< >_ )
34- // \\
35- \\___..___//
36- `-( )-'
37- _|__|_
38- /_|__|_\
39- /_|__|_\
40- /_\__/_\
41- \ || / _)
42- || ( )
43- \\___//
44- `---'
25+ >>> lorem: str = (
26+ 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam'
27+ 'nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,'
28+ 'sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.'
29+ )
30+
31+ >>> cowsay.draw(lorem, scorpion)
32+ _________________________________________________
33+ / \
34+ | Lorem ipsum dolor sit amet, consetetur sadipscing |
35+ | elitr, sed diamnonumy eirmod tempor invidunt ut |
36+ | labore et dolore magna aliquyam erat,sed diam vol |
37+ | uptua. At vero eos et accusam et justo duo dolore |
38+ | s et ea rebum. |
39+ \ /
40+ =================================================
41+ \
42+ \
43+ \
44+ ___ ___
45+ ( _< >_ )
46+ // \\
47+ \\___..___//
48+ `-( )-'
49+ _|__|_
50+ /_|__|_\
51+ /_|__|_\
52+ /_\__/_\
53+ \ || / _)
54+ || ( )
55+ \\___//
56+ `---'
57+
4558 ```
46592 . Fork the repo here https://github.com/VaasuDevanS/cowsay-python/fork
47603 . Once the character and it's output are finalized, add the character in
You can’t perform that action at this time.
0 commit comments