U3F1ZWV6ZTUwNTI4OTA5MzQ0MzM2X0ZyZWUzMTg3ODAwNTI5MjgwOA==

Python Language for Beginners Python series to learn python

Python Language for Beginners  Python series to learn python

Welcome to this python article, which is part of a special series of articles we offer to anyone who wants to start learning python programming. This article is the first of a series of articles entitled Python Language for Beginners – Python's Python Series, which are for those who want to start their python education.


1-Python Language for Beginners - Python series to learn python and get off the ground in the programming world. 
2-Texts in Python.
3-variables and compositions in Python.
4-Python control is loaded.
5-Functions and python units.
6-Object programming in Python (in progress).



A profile of python

Python's programming language is one of the most popular programming languages in the world right now, and all indications are that it has been ranked among the most popular programming languages of the past few years. Python has many advantages over other programming languages in many respects, as it has a dynamic data type interpretation system, meaning we don't need to determine the type of data for the variables we know in the code, and python's memory source management is automated. Python supports many programming patterns such as object programming, functional programming, and procedural programming. Python also features comprehensive standard libraries that are automatically included in all Python versions.

Learn Python directly via trinket tool

Python was launched in the early 1990s by Guido van Rossum and was named after him because of his admiration for a famous British theatre troupe called Monty Python. Python's programming language can be used to build and develop small, medium and large programs and applications, and it is recommended to learn it first for anyone who wants to learn to program in general, because it is easy to learn.

One of the advantages of Python's programming language is that its code does a lot with a few lines, so you don't need to write many codes and lines. The language also helps to write clean code, meaning that code is arranged and easy to read and understand because of the reliance on Identation to determine the scope/code, not the parentings as in other software languages. The following table shows some of the differences between python and Java.


Python has many features, some of which are mentioned in the following list:


1-Open source programming language.
2-Programming in which the OOP orientation is object-oriented.
3-Easy to learn for beginners.
4-It can be operated on any operating system.
 It can be used in many areas such as machine learning, artificial intelligence,  processing, networking, and information security.
Python is a dynamic language.
6-Here we begin with a python programming journey.  


Installing python

There are two main versions of Python, the first is Python 2.x, the old version of Python, which will receive security support until 2020, and will not offer any new features or features. The second version is 3.x and is under development, and the last approved version of this version (as of the time of writing) is 3.8.1. The following table lists python's major releases and release dates:

Python 3



1-We will install the latest version of the python version by following the following steps (assuming installation on the Windows system):

2-Go to python website
3-Click on downloads and we'll see a list. Press the python download button as it is in the following image:
4-Download Python for Windows - Install python
5-The python installation file will then start downloading with an exe extension. Save the file where you want it and then turn it on by pressing it twice
You'll see the next screen. Be sure to choose to Add python 3.8 to the path so you 6caturn on the python from the command screen, then click on the Install Now option:
Installation of python on Windows
7-After installation is finished, the python will be ready to use. The command screen can be opened, python command is written, and enter, and the Python command interpreter will be turned on.
To make it easier for you, you can use an editor or development environment such 8aAtom, PyCharm, or Visual Code to write and develop codes and programs in python.


Python for beginners - how do we write comments in Python?

# Single line comments start with a number symbol. """ Multiline strings can be written using three "s, and are often used as documentation. """


Python for beginners - types of data and processes

The following examples explain many concepts under the heading of the types of data that can be handled in a python programming language, and how to perform operations on them. The following examples can be performed directly in the Python language interpreter.



Python Sports Operations

1 + 1 # => 2 8 - 1 # => 7 10 * 2 # => 20 35 / 5 # => 7.0

ys floated:
ation is always floated:




In Python 3, there are two types of division



10.0 / 3 # => 3.3333333333333335



The second type of division is called "


5 // 3 # => 1 5.0 // 3.0 # => 1.0 # works on floats too -5 // 3 # => -2 -5.0 // 3.0 # => -2.0



his
Comments
No comments
Post a Comment

Post a Comment

NameEmailMessage