import time
class FancyHelloWorld:
def __init__(self, name):
self.name = name
def fancy_hello(self):
print("Initializing fancy Hello World...")
time.sleep(1)
print("Hello, welcome to the world of Python!")
time.sleep(1)
print("Let me show you something special, {}...".format(self.name))
time.sleep(2)
print("Here it comes...")
time.sleep(2)
print("Fancy Hello World!")
time.sleep(1)
print("Isn't it marvelous?")
time.sleep(1)
print("Thank you for your attention, {}!".format(self.name))
def main():
customer_name = input("Please enter your name: ")
hello_world_instance = FancyHelloWorld(customer_name)
hello_world_instance.fancy_hello()
if __name__ == "__main__":
main()