Skip to main content

Command Palette

Search for a command to run...

Learn Python basics - Chapter #1

Published
•1 min read•View as Markdown
Learn Python basics - Chapter #1
N

Seasoned JavaScript Developer who loves to explore other programming languages like Python. A problem solver, tech lover by heart. Loves reading booking, and cooking. 🤩🚀🔬

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 !!

3 views

More from this blog

N

nitinreddy3

43 posts

Seasoned JavaScript Developer who loves to explore other programming languages like Python. A problem solver, tech lover by heart. Loves reading booking, and cooking. 🤩🚀🔬