Experiment - 1
Experiment - 1
1. Download Python:
Visit the official Python website (https://www.python.org/) and go to the "Downloads"
section. Choose the version that suits your operating system (Windows, macOS, or
Linux) and download the installer.
2. Run the Installer:
For Windows: Double-click the downloaded executable file and follow the installation
wizard.
For macOS: Open the downloaded package and follow the installation instructions.
For Linux: Use your package manager or follow the instructions on the Python website
for your specific distribution.
3. Check Python Installation:
Open a command prompt (Windows) or terminal (macOS/Linux).
Type python --version or python -V and press Enter to verify that Python is installed.
Learning Interactively:
1. Interactive Python Shell (REPL):
Open a command prompt or terminal.
Type python and press Enter to enter the Python interactive shell.
2. Execute Simple Commands:
Try basic arithmetic operations like addition, subtraction, multiplication, and division.
Declare variables and assign values to them.
Explore basic data types (integers, floats, strings).