Skip to content

Commit 4f9ef25

Browse files
authored
Merge pull request #835 from Bushra-gh/main
Fixed typos, grammar and inconsistent heading
2 parents 8e72cc7 + 029a425 commit 4f9ef25

10 files changed

+39
-37
lines changed

docs/python/conditional-statements-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Conditional statements in Python allow you to make decisions in your code. They
2323

2424
## The `if` Statement
2525

26-
The simplest conditional is the `if` statement.
26+
The simplest conditional statement is the `if` statement.
2727

2828
**Syntax:**
2929

docs/python/intro-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ You can run this code in any Python interpreter, and it will display the message
7272
4. Verify installation by typing `python --version` in the terminal or command prompt.
7373
7474
75-
### Why Python is So Popular?
75+
### Why is Python so Popular?
7676
7777
Python has gained massive popularity across industries and educational institutions because of the following reasons:
7878
@@ -86,7 +86,7 @@ Python has gained massive popularity across industries and educational instituti
8686
Python offers a rich standard library and thousands of third-party packages (like NumPy, Pandas, Flask, Django, TensorFlow, etc.) to build anything from simple scripts to complex systems.
8787
8888
* **Cross-platform Compatibility**
89-
Python runs on all major operating systems (Windows, macOS, Linux), making it accessible and flexible.
89+
Python runs on all major operating systems (Windows, macOS, Linux) making it accessible and flexible.
9090
9191
* **Strong Community Support**
9292
Python has a huge global community, active forums, and abundant learning resources for beginners and professionals alike.
@@ -97,4 +97,4 @@ Python has gained massive popularity across industries and educational instituti
9797
9898
## Conclusion
9999
100-
Python is a powerful and versatile programming language that is easy to learn and widely used across different domains. Its simple syntax, vast libraries, and strong community support make it an excellent choice for both beginners and experienced developers.
100+
Python is a powerful and versatile programming language that is easy to learn and widely used across different domains. Its simple syntax, vast libraries and strong community support make it an excellent choice for both beginners and experienced developers.

docs/python/python-array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717

1818
---
1919

20-
# Python Arrays
20+
# Arrays in Python
2121

2222
An **Array** in Python is a data structure that stores multiple elements of the **same data type** in contiguous memory locations.
2323
Arrays are **ordered**, **mutable**, and **type-restricted**, making them more memory-efficient than lists for large numeric data.

docs/python/python-casting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tags:
1616

1717
---
1818

19-
# Python Casting
19+
# Type Casting
2020

2121
In Python, **casting** is the process of converting a variable from one type to another. Python has built-in functions for converting between data types.
2222

docs/python/python-list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tags:
1818
---
1919

2020

21-
# Python Lists
21+
# Lists in Python
2222

2323
A **List** in Python is a data structure that allows you to store multiple items in a single variable. Lists are **ordered**, **mutable**, and **can contain elements of different data types**.
2424

docs/python/python-tuple.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: python-tuple
33
title: Tuple in Python
4-
sidebar_label: Tuple in Python #displays in sidebar
4+
sidebar_label: Tuples in Python #displays in sidebar
55
sidebar_position: 9
66
tags:
77
[

docs/python/python-variables.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Here:
3939

4040
### 2. How to Declare and Assign Variables
4141

42-
You simply write a variable name, use the `=` sign, and assign a value.
42+
You simply write a variable name, use the assignment `=` operator, and assign a value.
4343

4444
```python
4545
a = 10
@@ -59,7 +59,7 @@ Python allows assigning values to multiple variables in a single line.
5959
x, y, z = 1, 2, 3
6060
```
6161

62-
You can also assign the **same value to multiple variables**:
62+
You can also assign **same value to multiple variables**:
6363

6464
```python
6565
a = b = c = 100
@@ -69,8 +69,8 @@ a = b = c = 100
6969
### 4. Variable Naming Rules
7070

7171
* Must start with a letter (a–z, A–Z) or an underscore (\_)
72-
* Can contain letters, digits, and underscores
73-
* Are case-sensitive (`name` and `Name` are different)
72+
* Can contain letters, digits, and special character like underscore.
73+
* Are case-sensitive (`name` and `Name` are different).
7474
* Cannot use reserved keywords like `if`, `class`, `def`, etc.
7575

7676
```python
@@ -129,7 +129,7 @@ print(x) # Raises NameError
129129

130130
### 9. Scope of Variables
131131

132-
There are **two types of variable scope**:
132+
There are **two scopes of variables**:
133133

134134
### 10. Global Variable
135135

docs/python/python_oops.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ tags:
1616
---
1717

1818

19-
# Python OOPs
19+
# Python OOPs concept
2020

2121
**OOP** is a way of organizing code that uses objects and classes to represent real-world entities and their behavior. In OOP, object has attributes thing that has specific data and can perform certain actions using methods.
2222

@@ -67,7 +67,7 @@ class BankAccount:
6767

6868
4. Inheritance - One class can inherit from another.
6969

70-
📌 **Use Case**: car (parent) class is getting inherited by (child) ElectricCar
70+
📌 **Use Case**: Car (parent) class is inherited by ElectricCar (child) class
7171

7272
```python
7373
class ElectricCar(Car):

docs/python/python_operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tags:
1818

1919
# Python Operators
2020

21-
In Python, **operators** are special symbols used to perform operations on variables and values. Python supports a wide variety of operators categorized based on their functionality.
21+
In Python, **operators** are special symbols used to perform operations on variables and values. Python supports a wide range of operators categorized based on their functionality.
2222

2323

2424
Used to perform basic mathematical operations:

docs/python/setup-environment.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: In this tutorial, you will learn how to set up your development env
2121

2222
Install Python
2323

24-
### Step 1: Let’s Download the git
24+
### Step 1: Let’s Download the git.
2525

2626
1. Go to the [Git Website](https://git-scm.com/) and click on download for windows button.
2727

@@ -30,77 +30,77 @@ Install Python
3030
</BrowserWindow>
3131

3232

33-
### Step 2: Select your Version you want to insatll.
33+
### Step 2: Select your Version you want to install.
3434

3535
1. Get your Installer:
3636

37-
Based on the current version of windows you can choose to have standalone installer or windows insaller to get started with. As my system is 64 bit i will choose here 64 bit, you can get know which system you are using by going to ``This PC`` icon right click on ``Properties`` Check under the system type.
37+
Based on your current version of Windows, you can choose either the standalone installer or Windows installer to get started. Since my system is 64-bit, I'll choose the 64-bit option. You can check which system type you have by right clicking ``This PC`` icon, selecting ``Properties``, and looking under ``System type``.
3838

3939
- **Installer:** Get the Installer
4040
<BrowserWindow url="https://git-scm.com/downloads/win" bodyStyle={{padding: 0}}>
4141
[![GitHub](./assets/setupimg2.png)](https://git-scm.com/downloads/win)
4242
</BrowserWindow>
4343
4444

45-
- **Start Installation:** Open the Installer, upon downloading.
45+
- **Start Installation:** Upon downloading, open the installer.
4646
4747
4848
<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
4949
[![GitHub](./assets/setupimg3.png)](https://git-scm.com/)
5050
</BrowserWindow>
5151

52-
- 1. The next screen click next on Public Licence.
52+
- 1. On the next screen, click next on Public Licence.
5353
- 2. Choose the location as default and click on Next
5454

5555

5656

5757
### Step 3: Understanding the Interface.
5858

59-
Next step, Git Will ask you to install couple of components you can checko on additional icons to add on Desktop and leave the rest as default and click on the Next.
59+
In the next step, Git will ask you to install couple of components. You can check on additional icons to add on Desktop and leave the rest as default and click on Next.
6060

61-
- 1. The next screen click next , make sure the start folder name is Git.
62-
- 2. Next option is to choose the default editor you can use your editor, im using visual studio code. or keep Vim as the default editor
61+
- 1. On the next screen click next , make sure the start folder name is Git.
62+
- 2. Next option is to choose the default editor you can use your editor, I'm using Visual Studio Code. Or keep Vim as the default editor.
6363

6464
6565
<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
6666
[![GitHub](./assets/setupimg4.png)](https://git-scm.com/)
6767
</BrowserWindow>
6868

6969
70-
### Step 5: Adjusting name of the repo setting in Git
70+
### Step 5: Adjusting name of the repo setting in Git.
7171

72-
This stage it will ask you to Choose a initial branch in new repository, it would be ideal approach to give the second option, as we move further it gives us flexibility to change the intial branch name , like main master, trunk.
72+
At this stage it will ask you to choose an initial branch in a new repository, it would be ideal approach to choose the second option, as we move further it gives us flexibility to change the intial branch name , like main master, trunk.
7373

7474

7575
<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
7676
[![Github](./assets/setupimg5.png)](https://github.com/sanjay-kv)
7777
</BrowserWindow>
7878

7979
80-
### Step 5: Adjusting Your path enviornment
80+
### Step 5: Adjusting Your path enviornment.
8181

82-
This is where we specify the path enviornment of git, just go with the recommened option which is 2.
82+
This is where we specify the path enviornment of git, just go with the recommended option which is 2.
8383

8484
<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
8585
[![Github](./assets/setupimg6.png)](https://github.com/sanjay-kv)
8686
</BrowserWindow>
8787

8888

89-
1. ``1`` In the next screen choose the SSH Executable, use the deafault one ``use bundled OpenSSH`` which is the default option.
90-
2. ``2`` On the next, you will ask to configuring the line ending conversions, you gotta keep it default which is option 1.
89+
1. ``1`` In the next screen choose the SSH Executable, pick ``use bundled OpenSSH`` which is the default option.
90+
2. ``2`` In the next step, you'll be asked configuring the line ending conversions, you should keep it default which is option 1.
9191
3. ``3`` Next step will be configuring the terminal emulator to use the git bash. Keep the default which is option 1.
92-
4. ``4`` Next option is to choose the defualt option to use the gith . use the default one which is the Fast- forward and merge option 1.
93-
5. ``5`` In the Credential helper choose the ``Git Credential Manager`` screen. and click on Next.
94-
6. ``6`` Enable the extra option , click on the ``Enable the file system Caching`` and click on the Next button.
95-
7. ``7`` In the Next step Screen it will ask you to enable the expiremental support , choose the both the option and click on Install.
92+
4. ``4`` Next option is to choose the defualt option to use the git. use the default one which is the Fast-forward and merge option 1.
93+
5. ``5`` In the Credential helper section, choose ``Git Credential Manager``, then click Next.
94+
6. ``6`` Enable the extra option by selecting ``Enable the file system Caching`` then click Next again.
95+
7. ``7`` On the Next Screen, it will ask whether you want to enable expiremental support. Select both options and click Install.
9696

9797
<BrowserWindow url="https://git-scm.com/" bodyStyle={{padding: 0}}>
9898
[![Github](./assets/setupimg8.png)](https://github.com/sanjay-kv)
9999
</BrowserWindow>
100100

101-
Congratulations! The Git Setup has been finished and now you can launch the GitHub.
101+
Congratulations! The Git setup is now complete and you can launch GitHub.
102102

103-
After that setup, you can see in your PC’s application list there are few new apps are added like ‘Git Bash,’ ‘Git GUI,’ ‘Git CMD.’ However, we will mostly use Git Bash for uploading our projects.
103+
After installation, you'll find new application in your PC’s program list, such as ‘Git Bash’, ‘Git GUI’, ‘Git CMD’. We'll mainly use Git Bash for uploading our projects.
104104

105105
Execute the below command to see your current version of git in Git CMD or windows command promt. Git Installation on Windows is completed.
106106

@@ -111,4 +111,6 @@ Install Python
111111

112112
## Conclusion
113113

114-
In conclusion, I hope you enjoyed reading this article on “Setting up your Git Enviornment?”. In the next post, will be discussing using Git to create a Repository and clone a project Github. Signing off Sanjay Viswanathan.
114+
I hope you enjoyed reading this article on “Setting up your Git Enviornment”. In the next post, we'll discuss how to create a Repository and clone a project from Github.
115+
Signing off,
116+
Sanjay Viswanathan.

0 commit comments

Comments
 (0)