def learn_magic_tricks(topic="magicians"): magicians_kit = {"prearrival": "set up your stage before the audience arrives", "forget": "make the audience forget their skepticism", "commandments": "follow the essential rules of a great magician", "begin_from_the_start": "practice your tricks from the simplest to the most complex", "backdoor": "a magician never reveals the backdoor to their tricks, keeping the mystery alive"}; for trick, advice in magicians_kit.items(): print(f"to excel in {topic}, {advice}.")