DEV Community

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

Posted on

2 1

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)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay