Introduction to Python Programming

Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.



WHY PYTHON:

1) Python works on different platforms (Windows, Mac, Linux, Raspberry etc).

2) Python has a simple syntax.

3) Python has syntax that allows developers to write programs with fewer lines.

4) Python runs on an interpreter system, meaning that code can be executed as soon as it is written.


FIRST PROGRAM IN PYHTON:

note: Python programs need to be saved with ".py" extension.

SIMPLE PROGRAM TO PRINT HELLO WORLD!

print("Hello World!")

note: If using python on command prompt use syntax "python hello.py " to run the program.


Output: Hello World!


This was a small introduction to Python language from my side.

Comments

  1. Simple, easy and resourceful very nice method for a blog... keep going 😎

    ReplyDelete

Post a Comment

Popular posts from this blog

Lists in Python

Variables in Python.