February 2015
Intermediate to advanced
400 pages
9h 49m
English
Now that you have a brief idea regarding the Python prompt, let's get you familiar with some of the basic Python commands. For these exercises, we will be using the Python IDLE, which also opens with the Python interactive prompt. You will require a method to describe the code segments, tasks, and comments when writing large and complex code. Non-executable content is called comments in any programming language, and in Python, they start with the hashtag character (#). Like comments, you will be frequently required to check the output by printing on the prompt using the print command:
>>> # Fundamental of Python >>> # My first comment >>> name = "John" # This is my name >>> print name John
Instead of IDLE, ...