Every time you see “Hello World” is printing by means of code, you know One is trying a New Programming language. So Today is no different i am trying to learn python and first program will be printing “Hello World”.

I am a fan of CognitniveClass’ courses

They are easy, neatly demonstrated, no fancy ‘Interactive hype’ things and best of all, it is free. The First course in “Python learning is Python For Data Science” at cognitiveclass.ai.

print(“Hello world”) My first Python Program

Refer the Course Video


Everything is crystal clear in video.

Important Points to Note is:-

1.When you run the code, Python will ignore the comment.

2.A Syntactic error is when Python does not understand your code. For example, if you spell print “frint”, you will get an error message.

3.A Semantic error is when your logic is wrong. Program will execute but one will not get desired result.

Writing comments in Python

Comments in Python start with the hash character, # , and extend to the end of the physical line. A comment may appear at the start of a line or following whitespace or code, but not within a string literal. A hash character within a string literal is just a hash character.

In addition to writing code, note that it is customary to comment your code to help describe what it does. Not only does this help other people understand your code, it can also serve as a reminder to you of what your code does. (This is especially true when you have the habit to forget)

To write comments in your Python code, use the hash symbol (#) before writing your comment. When you run the code Python will ignore everything after the # in that line.

How to use Jupyter Notebooks for Python Programming

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

The Notebook has support for over 40 programming languages, including Python, R, Julia, and Scala.

Source:-Get a Feel of Notebook

Refer some online Tutorials:-

Jupyter Notebook Tutorial: Definitive Guide (article) – DataCamp

Jupyter Notebook Tutorial in Python – Plotly