Hidden Easter Eggs in Python
00:00 And one cool thing is that you as a Python programmer and with you, I mean you as a viewer, but also you, Bartosz, can still find some Easter eggs in Python.
00:11 Python is one of the places where you can go on an Easter egg hunt, and that’s something that we want to do today and find some Easter eggs in Python. That’s right. Any journey.
00:24
As a programmer, we often start with HelloWorld
programs and there are some things that we can actually uncover in Python, but before we go to the Easter eggs, how does like a typical HelloWorld
program look in Python?
00:40
Well, in Python it’s pretty straightforward. You just call the print()
function, open parentheses, and inside you put a string which says hello
, world!
and it prints the string.
00:54
Hello, world!
But it’s interesting that you’re asking specifically about the HelloWorld
implementation in Python because writing HelloWorld
in Python is fairly straightforward.
01:05
But if you asked me how to write HelloWorld
in Java, I’m not sure if I would be able to do this at the first try. Probably it would take maybe two because of the complicated syntax.
01:17
That is true. But there is even a way on how to get the hello world
message in Python without even writing code. Right.
Become a Member to join the conversation.