Python 3 Programming Introduction Tutorial

python

Why Python?

If you are really a beginner then you are at the right place. Python is a very basic and user-friendly language. If you are learning the coding for the first time it can be the best language to learn. Even if you don’t know to program it will be easy for you.

cricket = "Dhoni", "kholi", "jadeja", "gayle"
print(cricket)	  
for player in cricket:
	print(player)

In this example, we are going to print the names of the cricket players stored inside the variable (Container to store Strings) cricket.

“print()” is a built-in function that will output everything present inside it on Console.

OUTPUT:
("Dhoni", "kholi", "jadeja", "gayle")
Dhoni
kholi
jadeja
gayle

How to install Python:

#Ubuntu installation
sudo apt-get update
sudo apt-get install python3.6

By this, we can install python in Ubuntu and process for Windows is quite simple by going to the link.

It is quite simple on windows by clicking next and then click install and you are good to go. You can use python in different ways.

There are 2 Types of modes in python :

  1. Immediate Mode
  2. Editor Mode

Immediate Mode:

This is a direct mode and it can be used directly through CMD (Command Prompt) in the Windows and in Ubuntu, it can be directly accessed through Terminal. You can enter into the Python immediate mode by just type python inside the terminal. There is one more method to access the immediate mode through idle which is a platform for python code to executed. Idle is also an immediate mode.

Whatsapp using Python?

Editor Mode :

Editor mode is as simple as creating a program inside a file and then executing it. The extension of the file created in the python is stored by the  .py extension.

By going to Idle and going to the “File ” Option at the top and then clicking on “New” option this will create a new file in which you can type your program and this will be stored with extension by .py extension only.

Where is Python Used?

  1. Youtube
  2. Google
  3. Reddit

Nowadays python is the most widely used language. It is very efficient language in terms of efficiency. Python is used in many places in the real world problems that you can also work upon if you understand the python properly.

Example :

  1.  Google Assistant based on voice recognition
  2. Machine Learning
  3. Ads you see everywhere Online
  4. Controlling the website automatically

Python has many built-in libraries that make your work easy at every time and these libraries are constantly evolving every day. So this makes developers easy to code and make programs fast. Some of the libraries are :

  1. Selenium (that is used to control websites automatically)
  2. OpenCV
  3. TensorFlow (Google Open Source library for artificial intelligence)

To be updated with the latest articles that we post. Don’t forget to follow us on Facebook and Instagram. So that you can be updated with Technology and Growing programming World. We will be also doing some interesting projects in python.

Basically, we are just starting up with everything so please support us by sharing this article and we do earn by these articles when you click on the Ads shown by Google and we invest that money in the development of the website. So please Support us in every respect. We are so thankful for your great response.

Do Comment below for your ideas and what would you like to learn more?

Give us your Feedback also for the article

About Anurag

You can call me the Tech Buffer because I love the way technology is moving inside me. I fascinate the way phones take pictures to the way Google finds its search result.

View all posts by Anurag →

Leave a Reply

Your email address will not be published. Required fields are marked *