diff --git a/ASCII_Art_Style.py b/ASCII_Art_Style.py new file mode 100644 index 0000000..2ab0946 --- /dev/null +++ b/ASCII_Art_Style.py @@ -0,0 +1,40 @@ +import time +import random + +# Fun 'typing' effect function +def typing_effect(text): + for char in text: + print(char, end='', flush=True) + time.sleep(random.uniform(0.03, 0.1)) # Random typing speed + print() + +# Creative "Hello, World!" with ASCII art +def hello_world_art(): + art = """ + _ _ _ _ __ __ _ _ + | | | | | | | \ \ / / | | | | + | |_| | ___| | | ___ \ \ /\ / /__ _ _| |__ | | + | _ |/ _ \ | |/ _ \ \ V V / _ \| | | | '_ \| | + | | | | __/ | | (_) | \_/\_/ (_) | |_| | |_) |_| + |_| |_|\___|_|_|\___( ) (_) \__,_|_.__/(_) + |/ + """ + typing_effect(art) + +# Fun function to display basic info +def display_info(): + name = "Your Name" + age = 25 # Example age + hobby = "Coding" + + info = f""" + 👋 Hello, World! + My name is {name} 🌍 + I'm {age} years old 🎂 + I love {hobby} 💻 + """ + typing_effect(info) + +# Call functions +hello_world_art() +display_info() \ No newline at end of file