What is Python?
Python is a simple, readable, general-purpose programming language. It is used for web development, data science, AI, automation and much more.
Hello, World!
The classic first program prints a message to the screen using the built-in print function.
print("Hello, Python!")Comments
Anything after a # on a line is a comment. Python ignores comments β they are notes for humans.
# This is a comment
print("Hi") # inline comment