Which Came first Hen or Egg? | Mystery Solved
we all have one stupid question, which came first “Hen” or “Egg”? or “Seed” or “Tree”? The chicken, no, the egg, no, the chicken, no, the egg, no. This type of question makes your head spin right off your neck. Finally, The unsolved mystery is solved by a python interpreter. This is Easy and Crazy, Let’s move on
Hen or Egg?
# Which came first "Hen" or "Egg" mystery = ['๐ฅ','๐'] mystery.sort() print(mystery) #Output ['๐', '๐ฅ']
Finally, we got the craziest output from a python. “Hen” is first then, “Egg”
Seed or Tree?
# Which came first "Seed" or "Tree" mystery = ['๐ฑ','๐ด'] mystery.sort() print(mystery) #Output ['๐ฑ', '๐ด']
=> “Seed” is first then, “Tree”
Program Reality
# Which came first "C" or "C++" or "Python" Reality = ['C','Python,'C++'] Reality.sort() print(Reality) #Output ['C', 'C++', 'Python']
The C programming language was developed in 1972, the C++ programming language was developed in 1980, and Python was developed in 1991.
Previous Blog
Auto Typing Code in Python | just 2 lines: https://iterathon.tech//auto-typing-code-in-python-just-2-lines/
PROGRAMMING IS ALWAYS FUN TO LEARN โฃ