Python 2.1 - Writing first Python program
Before writing our first Python program, let’s first understand how to install Python software in our computer/laptop. I will not recommend Tablet and mobile for programming. First of all, go to link https://www.python.org/downloads/ and download Python software. Python comes in many versions such as 1.x, 2.x and 3.x where x represents version number. This book uses the latest version 3.8.3 of Python . You can download the latest version. Python 1.x and 3.x have some notable differences. For example, in Python 1.x we used print statement without parentheses and in Python 3.x we use print with parentheses. In Python 1.x – >>> print “this is a statement” Whereas in Python 3.x – >>> print(“this is a statement”) You can download Python for Windows, Linux/Unix, Mac or any other operating system. We are using Python for Windows 10(64 bit). Installing Python on windows First of all, check your OS. Then go to the link mentioned above and click on download P