Skip to content

Commit 731ee63

Browse files
committed
[Fix] Listing for Python
Fixed listing for Python Organized text to be less personal and rather direct. Assigned a notice Box for the required message listed at the bottom.
1 parent 086c4da commit 731ee63

1 file changed

Lines changed: 40 additions & 32 deletions

File tree

docs/Language/Python/Python.md

Lines changed: 40 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -49,54 +49,62 @@ There are two major versions of Python currently in use:
4949

5050
There are several steps you can take to begin learning and using the language. Here's a step-by-step guide:
5151

52-
1. ### Download Python
52+
<br>
5353

54-
Visit the [Official Python Website](https://www.python.org/downloads/) and download the latest version of Python.
54+
1. **Download Python**
55+
56+
Visit the [Official Python Website](https://www.python.org/downloads/) and download the latest version of Python.
5557

56-
2. ### Installation
58+
2. **Installation**
59+
60+
Follow the installation instructions for your operating system. Make sure to check the box that says `"Add Python to PATH"` during installation for easier command-line access.
5761

58-
Follow the installation instructions for your operating system. Make sure to check the box that says `"Add Python to PATH"` during installation for easier command-line access.
62+
3. **Choose an Integrated Development Environment (IDE)**
63+
64+
You'll then need to select an IDE or a text editor to write your Python code.
5965

60-
3. ### Choose an Integrated Development Environment (IDE)
66+
Some popular options include:
67+
- Visual Studio Code: A lightweight and extensible code editor with Python support.
68+
- Sublime Text:
69+
- Atom:
70+
- PyCharm: A more feature rich IDE specifically for Python.
6171

62-
You'll then need to select an IDE or a text editor to write your Python code. Some popular options include:
72+
4. **Write Python Code**
73+
74+
Simply create a new Python source file (typically with a `.py ` extension) using your chosen IDE or text editor, and write your C++ code using the C++ syntax and features!
6375

64-
- Visual Studio Code: A lightweight and extensible code editor with Python support.
65-
- Sublime Text:
66-
- Atom:
67-
- PyCharm: A more feature rich IDE specifically for Python.
76+
Here's a simple "Hello, World!" program:
6877

69-
3. ### Write Python Code
78+
```python
79+
print("Hello, World!")
80+
```
7081

71-
Simply create a new Python source file (typically with a .py extension) using your chosen IDE or text editor, and write your C++ code using the C++ syntax and features!
82+
Yeah... it's that easy!
7283

73-
Here's a simple "Hello, World!" program:
84+
5. **Save**
85+
86+
Save your Python code with a meaningful filename and the `.py ` extension.
7487

75-
```python
76-
print("Hello, World!")
77-
```
88+
6. **Run the Code**
89+
90+
Use the command-line interface or the terminal to run your python code. Run the program by navigating to the folder with your file and typing:
7891

79-
Yeah... it's that easy!
92+
```bash
93+
python hello_world.py
94+
```
8095

81-
4. ### Save
96+
OR (on some systems)
8297

83-
Save your Python code with a meaningful filename and the .py extension.
98+
```bash
99+
python3 hello_world.py
100+
```
84101

85-
5. ### Run the Code
102+
<br>
86103

87-
Use the command-line interface or the terminal to run your python code. Run the program by navigating to the folder with your file and typing:
104+
{: .note title="Notice"}
105+
That there is no requirement to compile it like for other languages (such as `C++`). Because `Python`'s code is executed directly by an interpreter without the need for a separate compilation step.
88106

89-
```bash
90-
python hello_world.py
91-
```
92-
93-
OR (on some systems)
94-
95-
```bash
96-
python3 hello_world.py
97-
```
98-
99-
Notice how you do not need to compile it like in some other languages (such as C++). This is because Python code is executed directly by an interpreter without the need for a separate compilation step.
107+
<br>
100108

101109
---
102110

0 commit comments

Comments
 (0)