Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import pyfiglet
|
| 2 |
+
|
| 3 |
+
def ascii_creator(text, font):
|
| 4 |
+
ascii_text = pyfiglet.figlet_format(text, font=font)
|
| 5 |
+
print(ascii_text)
|
| 6 |
+
|
| 7 |
+
if __name__ == "__main__":
|
| 8 |
+
text = input("Enter the text to convert to ASCII Art: ")
|
| 9 |
+
font = input("Enter the font to use: ")
|
| 10 |
+
ascii_creator(text, font)
|