DEV Community

Cover image for Learn Python basics - Chapter #1
Nitin Reddy
Nitin Reddy

Posted on

Learn Python basics - Chapter #1

Python is one of the best programming languages for beginners. Before moving on to some advanced topics, one should give more importance to the basics of the Python programming language.

Today we will look at the basics of Python programming language and get started with it.

You can use any sort of editor for practice purpose, I mostly prefer
VS Code but you can choose whichever text editor or IDE you love.

You can also use IDLE, a Python REPL

Open the IDLE and run the below code

Example 1: Adding two numbers

  >>> 2 + 2
  4
  >>>

In the above example, 2 + 2 is an expression, where 2 is a value and + is an operator.

As a programmer, it is useful to understand the programming constructs thoroughly.

Happy learning !!

Top comments (0)