Hisjhsshh commited on
Commit
f14b0f3
·
1 Parent(s): f87ec57

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
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)