Python, a high-level, interpreted programming language, is widely beloved by developers for its simplicity and readability. Those new to coding often start with Python due to its elegant syntax, enabling them to write and test code quickly. If you're taking your first steps into the coding world, here's a simple Python script example that prints "Hello, World!" and explores a bit further to demonstrate loops and conditions.

Let's dive right in!

Simple "Hello, World!" Script
The traditional first program in any programming language is "Hello, World!", which outputs this message to the console. Here's how you can achieve this in Python:

```python print("Hello, World!") ```
Printing Multiple Lines

If you want to print more than one line, you can use the `print()` function multiple times or embed your strings within parentheses, as shown below:
```python print("Hello,") print("World!") # or print("Hello,\nWorld!") ```
Variables and Data Types

Python has dynamic typing, which means you don't need to declare the type of a variable before assigning value to it. Here's how you can declare and assign values to variables:
```python name = "Alice" age = 30 print(name) print(age) ```
Control Flow: Loops and Conditions

Python provides several ways to control the flow of your program. Loops allow you to repeat code, while conditions enable you to execute code based on specific criteria. Let's explore both with an example that prints numbers from 1 to 5.
```python for i in range(1, 6): if i % 2 == 0: print(i, "is an even number") else: print(i, "is an odd number") ```




















While Loops
While loops allow you to execute a block of code repeatedly based on a given condition. Here's an example of a while loop that counts up from 1 to 5:
```python i = 1 while i <= 5: print(i) i += 1 ```
Break and Continue Statements
You can use `break` to exit a loop prematurely, and `continue` to skip the current iteration and move to the next one. Here's an example using both statements:
```python for i in range(1, 11): if i == 5: continue if i == 8: break print(i) ```
Remember, coding is a skill that improves with practice. Don't hesitate to explore more Python features and build upon this simple script example. Happy coding!