Installing Python and Running Your First ProgramDownload Python from the official site at
python.org — go with the latest stable release. On Windows, make sure to check "Add Python to PATH" during installation, otherwise running Python from the command line won't work.
Next, pick a code editor. For your first steps, IDLE (which comes bundled with Python) is fine — simple interface, instant feedback. Once you've got the basics down, VS Code is a great upgrade: free, syntax highlighting, autocomplete, and one-click run. For kids, Thonny is worth a look: the interface is deliberately beginner-friendly and comes with a built-in debugger.
If you'd rather not install anything, online environments work great.
Replit lets you write and run Python right in the browser.
Google Colab is especially handy for data and neural network work. Both are ideal for kids or anyone just testing the waters.
Your first program — the classic Hello, World:
print("Hello, World!")
print() outputs text to the screen. The text in quotes is a string — the argument you're passing to the function. Run it and you'll see the result in the console. That's where programming on Python begins.