7 Crazy Python Easter Eggs You Probably Haven’t Seen
Just when you think you’ve seen everything Python has to offer!!
Python is one of the most popular and used programming languages in the tech world —In short, it’s the undisputed king of the coding realm. python has carved out a special place in the hearts of developers with its user-friendly syntax and versatility. However, beyond its practical application lies a hidden playground of funny easter eggs waiting to be discovered. In this blog, I will be sharing some crazy python easter eggs that you probably haven’t seen.
1. The .py extension doesn’t matter much 🐍
Every book, every tutorial, and every article you will ever read about Python gonna tell you that every Python program should be saved with the extension .py
, well it's true and you should do that ethically every time, but this article isn’t about Python ethics, it's about easter eggs.
You can use any type of extension to save your Python file, whether its .cow
, .cat
or .mango
if your script is valid it will run and give you the desired output that you would expect.