Start programming within 1 min: Python tutorial for complete beginners

Yili Hsu
2 min readNov 10, 2021

Python is a programming language that become more and more popular in several domains. It can be applied in Deep Learning, Natural Language Processing, Data Science, UI creating or even games. According to the 2021 November edition of the Tiobe index, Python had become the most popular language world-wide. So let’s start your fist python program with me for just 1 minute!

Environment

I highly recommend you to use Google Colab as your first coding environment. It requires no download or settings, easy to save your files on google drive, even free to use their GPU.

Step1. go to Google Colab and create a new notebook

Login your google account and then you are able to create a new notebook

click “New notebook” for your first program

Step2. Type in your first line of code in the box

Here, “print” let the program to print out anything that you put in the box.

Step3. Run the program

click the run button and you will see the output!

Say hello to the world :)

print out result

Now you can start your first python program! Try put different content in the box and see how it goes.

Notes:

  • You can code anywhere as long as you are connected to the Internet
  • The content will be auto-saved on google drive

--

--

Yili Hsu

A CS student from Taiwan who loves traveling, cooking and playing with cats.