Python for Beginners

·

1 min read

Let’s learn Python!

What is Python?

Python is a popular and versatile programming language that can be used for different purposes. It can be used for Data Science, Web Development, Machine Learning, etc.

According to Guido van Rossum, Python’s creator: Python is a

high-level programming language, and its core design philosophy is all about code readability and a syntax which allows programmers to express concepts in a few lines of code.”

Install Python

Follow this link to install python on your laptop. This is necessary to write and run python programs.

However, if you are using a phone, various websites have built-in IDE to run python codes for practice.

You can use either of the following:

You can use the above links to learn python from beginner to advanced.

Your First Python Line of Code

Using the print() function displays output on the terminal

On the IDE, type:

print(“hello world”)

and save. Click Run. The output should display hello world exactly as you typed it in the quotes of the print() function. You can try using different words or phrases in the quotes and the terminal will spit out the same string.

Congratulations! You have written your first Python program!

Reference:

https://www.python.org/downloads/

https://coddy.tech/landing/python

https://www.w3schools.com/python/

https://www.freecodecamp.org/learn/python-for-everybody/