Getting Started With Python

Tutorial – 1 

To Learn Python, You don’t need to have python installed on your system, Rather I would suggest you to make use of colab. 

Colab is the abbreviation of Colaboratry by Google. It allows you to write and execute Python in Your Browser.

 

Step 1: Google Account: 

I am pretty sure you don’t need to go with step 1 ,because I assume you have one google account. Just sign in to your Browser.

 

Step 2: Go to Colab

Now go to the link of colab i.e https://colab.research.google.com/

To write python code you need to create one colab notebook. The best part of the colab notebook is that it uses google’s GPU and not from your local machine. So even if you have a laptop which is not a higher-end laptop then also you can make use of it without any problem.

 

 

 

Now you need to create one notebook, Just click on a new notebook, and assign a name of your choice.

 

 

It will create one notebook with Untitled, which you can rename.

Don’t change the ipynb extension, this is the extension for the python notebook.

 

I have kept the name as MyFirstProgram.ipynb

Step 3 : Write Your First line of code

Let’s write our smallest program first.

 print('Hello World')

Now Click on Play button Or you can press Shift+Enter.

It will print the output as below.

 

Go To the Next Tutorial to Understand the Print Function in Python and understand various ways to use Print.

 

Sharing is caring!

Subscribe to our newsletter
Loading

Leave a Reply