diff --git a/docs/python/conditional-statements-python.md b/docs/python/conditional-statements-python.md index db006c23..6c2b0c9b 100644 --- a/docs/python/conditional-statements-python.md +++ b/docs/python/conditional-statements-python.md @@ -23,7 +23,7 @@ Conditional statements in Python allow you to make decisions in your code. They ## The `if` Statement -The simplest conditional is the `if` statement. +The simplest conditional statement is the `if` statement. **Syntax:** diff --git a/docs/python/intro-python.md b/docs/python/intro-python.md index 28552ac1..55505891 100644 --- a/docs/python/intro-python.md +++ b/docs/python/intro-python.md @@ -72,7 +72,7 @@ You can run this code in any Python interpreter, and it will display the message 4. Verify installation by typing `python --version` in the terminal or command prompt. -### Why Python is So Popular? +### Why is Python so Popular? Python has gained massive popularity across industries and educational institutions because of the following reasons: @@ -86,7 +86,7 @@ Python has gained massive popularity across industries and educational instituti 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. * **Cross-platform Compatibility** - Python runs on all major operating systems (Windows, macOS, Linux), making it accessible and flexible. + Python runs on all major operating systems (Windows, macOS, Linux) making it accessible and flexible. * **Strong Community Support** 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 ## Conclusion -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. +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. diff --git a/docs/python/python-array.md b/docs/python/python-array.md index 48c98a28..2d635a68 100644 --- a/docs/python/python-array.md +++ b/docs/python/python-array.md @@ -17,7 +17,7 @@ tags: --- -# Python Arrays +# Arrays in Python An **Array** in Python is a data structure that stores multiple elements of the **same data type** in contiguous memory locations. Arrays are **ordered**, **mutable**, and **type-restricted**, making them more memory-efficient than lists for large numeric data. diff --git a/docs/python/python-casting.md b/docs/python/python-casting.md index a5ae390a..05033c1c 100644 --- a/docs/python/python-casting.md +++ b/docs/python/python-casting.md @@ -16,7 +16,7 @@ tags: --- -# Python Casting +# Type Casting 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. diff --git a/docs/python/python-list.md b/docs/python/python-list.md index 55b8ece6..d7f4af64 100644 --- a/docs/python/python-list.md +++ b/docs/python/python-list.md @@ -18,7 +18,7 @@ tags: --- -# Python Lists +# Lists in Python 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**. diff --git a/docs/python/python-tuple.md b/docs/python/python-tuple.md index 05da877b..5e3f6610 100644 --- a/docs/python/python-tuple.md +++ b/docs/python/python-tuple.md @@ -1,7 +1,7 @@ --- id: python-tuple title: Tuple in Python -sidebar_label: Tuple in Python #displays in sidebar +sidebar_label: Tuples in Python #displays in sidebar sidebar_position: 9 tags: [ diff --git a/docs/python/python-variables.md b/docs/python/python-variables.md index 76dcb1a5..b8de8f5d 100644 --- a/docs/python/python-variables.md +++ b/docs/python/python-variables.md @@ -39,7 +39,7 @@ Here: ### 2. How to Declare and Assign Variables -You simply write a variable name, use the `=` sign, and assign a value. +You simply write a variable name, use the assignment `=` operator, and assign a value. ```python a = 10 @@ -59,7 +59,7 @@ Python allows assigning values to multiple variables in a single line. x, y, z = 1, 2, 3 ``` -You can also assign the **same value to multiple variables**: +You can also assign **same value to multiple variables**: ```python a = b = c = 100 @@ -69,8 +69,8 @@ a = b = c = 100 ### 4. Variable Naming Rules * Must start with a letter (a–z, A–Z) or an underscore (\_) -* Can contain letters, digits, and underscores -* Are case-sensitive (`name` and `Name` are different) +* Can contain letters, digits, and special character like underscore. +* Are case-sensitive (`name` and `Name` are different). * Cannot use reserved keywords like `if`, `class`, `def`, etc. ```python @@ -129,7 +129,7 @@ print(x) # Raises NameError ### 9. Scope of Variables -There are **two types of variable scope**: +There are **two scopes of variables**: ### 10. Global Variable diff --git a/docs/python/python_oops.md b/docs/python/python_oops.md index 71cf560a..f0a93ace 100644 --- a/docs/python/python_oops.md +++ b/docs/python/python_oops.md @@ -16,7 +16,7 @@ tags: --- -# Python OOPs +# Python OOPs concept **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. @@ -67,7 +67,7 @@ class BankAccount: 4. Inheritance - One class can inherit from another. -📌 **Use Case**: car (parent) class is getting inherited by (child) ElectricCar +📌 **Use Case**: Car (parent) class is inherited by ElectricCar (child) class ```python class ElectricCar(Car): diff --git a/docs/python/python_operators.md b/docs/python/python_operators.md index 39c968cf..7fd6c751 100644 --- a/docs/python/python_operators.md +++ b/docs/python/python_operators.md @@ -18,7 +18,7 @@ tags: # Python Operators -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. +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. Used to perform basic mathematical operations: diff --git a/docs/python/setup-environment.md b/docs/python/setup-environment.md index 17ed84d0..79b66800 100644 --- a/docs/python/setup-environment.md +++ b/docs/python/setup-environment.md @@ -21,7 +21,7 @@ description: In this tutorial, you will learn how to set up your development env Install Python - ### Step 1: Let’s Download the git + ### Step 1: Let’s Download the git. 1. Go to the [Git Website](https://git-scm.com/) and click on download for windows button. @@ -30,11 +30,11 @@ Install Python - ### Step 2: Select your Version you want to insatll. + ### Step 2: Select your Version you want to install. 1. Get your Installer: - 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. + 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``. - **Installer:** Get the Installer @@ -42,24 +42,24 @@ Install Python - - **Start Installation:** Open the Installer, upon downloading. + - **Start Installation:** Upon downloading, open the installer. [![GitHub](./assets/setupimg3.png)](https://git-scm.com/) - - 1. The next screen click next on Public Licence. + - 1. On the next screen, click next on Public Licence. - 2. Choose the location as default and click on Next ### Step 3: Understanding the Interface. - 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. + 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. - - 1. The next screen click next , make sure the start folder name is Git. - - 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 + - 1. On the next screen click next , make sure the start folder name is Git. + - 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. @@ -67,9 +67,9 @@ Install Python - ### Step 5: Adjusting name of the repo setting in Git + ### Step 5: Adjusting name of the repo setting in Git. - 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. + 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. @@ -77,30 +77,30 @@ Install Python - ### Step 5: Adjusting Your path enviornment + ### Step 5: Adjusting Your path enviornment. - This is where we specify the path enviornment of git, just go with the recommened option which is 2. + This is where we specify the path enviornment of git, just go with the recommended option which is 2. [![Github](./assets/setupimg6.png)](https://github.com/sanjay-kv) - 1. ``1`` In the next screen choose the SSH Executable, use the deafault one ``use bundled OpenSSH`` which is the default option. - 2. ``2`` On the next, you will ask to configuring the line ending conversions, you gotta keep it default which is option 1. + 1. ``1`` In the next screen choose the SSH Executable, pick ``use bundled OpenSSH`` which is the default option. + 2. ``2`` In the next step, you'll be asked configuring the line ending conversions, you should keep it default which is option 1. 3. ``3`` Next step will be configuring the terminal emulator to use the git bash. Keep the default which is option 1. - 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. - 5. ``5`` In the Credential helper choose the ``Git Credential Manager`` screen. and click on Next. - 6. ``6`` Enable the extra option , click on the ``Enable the file system Caching`` and click on the Next button. - 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. + 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. + 5. ``5`` In the Credential helper section, choose ``Git Credential Manager``, then click Next. + 6. ``6`` Enable the extra option by selecting ``Enable the file system Caching`` then click Next again. + 7. ``7`` On the Next Screen, it will ask whether you want to enable expiremental support. Select both options and click Install. [![Github](./assets/setupimg8.png)](https://github.com/sanjay-kv) - Congratulations! The Git Setup has been finished and now you can launch the GitHub. + Congratulations! The Git setup is now complete and you can launch GitHub. - 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. + 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. Execute the below command to see your current version of git in Git CMD or windows command promt. Git Installation on Windows is completed. @@ -111,4 +111,6 @@ Install Python ## Conclusion - 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. + 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. + Signing off, + Sanjay Viswanathan.