python tutorial

Today we will talk about the most important and most popular programming language of today's time, yes, you must have come to know that the language I am talking about is Python.

 This is a free and the biggest thing is that it is available on open source, which can be used easily and no money is paid to use it, through this language you can create a website, you can become a good programmer.  Nowadays, most enthusiasm is being seen in the youth about this language, it is very easy as compared to other programming languages, that means it can be learned easily, its scripts are so simple that if there is such a person and programming it.  If you do not know anything, then he can also learn it easily. There are many features of this language which are as follows.

 Features of Python

 1- It is an open source program

 2- It is a portable program i.e. if you write any code in Linux operating system then you do not need to write separate code for other operating system like Windows

 3- It is very easy compared to other languages ​​such as C, C++ or JAVA to close the coding in this;  is not used

 4- It is an object oriented program, that means you can use classes, objects or encapsulation as per your wish.

 5- It is a high label programming language, that means when writing programs in it, it is not necessary to have knowledge of the architecture of the system.

 6- There are many packages inside it which can be imported and used accordingly.

 7- Many modules in this

 It can be used in the graphical user interface (GUI) by using

python download |python install


x = 10

print(x)

type(x)



(b) float - This type of data stores the digits along with the decimal

x = 10.67

print(x)

type(x)


(c) complex - This type of data is meant to store complex values ​​together

x = 10+2i

print(x)

type(x)

3- sequence This type of data is stored in a sequence, under which there are three types of data stores.

python list|python array

(a) List - Stores the list under this type of data, this list can be of integer or character.

x = ["banana", "mango", "apple"]

print(x)

Now let's talk about how you will install Python in your system, then first of all you go to the official website of Python, there you select your operating system Windows, or Linux or Make, after selecting your operating system, you can use your CPU.  Install it step by step in your system by downloading its installer according to the bit of bit, after python stall in your computer, verify the python installed in your system with its python --version command.

 Now the second most important is to install visual studio, for this also you go to the official website of VS Code and download and install Visual Studio inside your system.  your visual studio will be ready to write your code now you open a folder for your python code and inside it open a python file ( .py ) with extension now as soon as you open the python file the code editor  it will be open now you install the extension of python in your visual studio so that you can easily run python code

 To write your first program first type print("hello word") after that you click on play button to run your script you will see that your program will be run and its output will be shown in terminal below

 python data types|python data structures


 1- text type This type of data is used for the use of string value, in which the character is stored in the variable.

 x = "hello word"

 Print(x)

 type(x)

 2- numeric data Numeric value is stored under this type of data, under this three types of data are stored.

 (a) integer - in which the whole digit is stored

type(x)


(b) Tuple This list is according to the data, it is immutable i.e. once this data is created, it cannot be modified.

x = ("banana", "mango", "apple")

print(x)

type(x)

(c) range It is such type of data in which a minimum and maximum value is displayed at an interval of a step size.

x = range(3, 24, 3)

for n in x:

  print(n)


4- mapping This type of data is the following


 (a) dictionary - This is Python dictionary, it is also called associate array, that is, one element has a mutual relation with another element like

x = {"name" : "mohit", "age" : 20}

print(x)


type(x)

(b) set - set is used for this type of data where a numeric value is used for store or union intersection.

 x = {"banana", "mango", "apple"}

 x = {1,4,2,9)

 print(x)

 type(x)

 (c) frozenset It is an immutable version of a Python set data type, that is, no further modification can be done inside it.

 x = frozenset(("banana", "mango", "apple"))

 5- boolean - This type of data is used to show two values, in which these two values ​​are true or false.

 like

print(10>4)

 Now its output will appear in front of Nickel whether the output requested is true or false.

 python operators with example|what is a python operators |python basic operators

 Operator- As we know that in computer language, operators are symbols that we use for different tasks.  They are called relational operators, such as < or > and those used in arithmetic work are called arithmetic.

python if else|python function

 statement - statement means that any statement that I have given a statement that this work should be like this, in computer language, statements are used there that if this function will be like this then it should look like for example if we have a  I thought that if Ram's age is more than 18, then he will vote, if not more then he will not vote, now it is a statement but in the language it has to be told that how old is Ram and then apply the condition of this statement.  For this, if and else statements are used

R language tutorial 

Basic of PHP language 

mysql tutorial

mysql basic commands mysql basic 

mysql basic queries 

I can easily understand the python tutorial, you must have come to know about its basics.


 r language basic program 

 r language examples 

r language for data science

Types of deta in PHP

PHP full course in hindi