Comments in Python, Basic Computer Science

A hash sign (#) that is not within a string literal begins a comment. All characters later than the # and up to the physical line end are division of the comment, and the Python interpreter disregards them.

# First comment
print "Hello, welcome to python!"; # second comment
This will create following outcome:
Welcoem to Python!
A comment possibly on the same line after a statement or term:
name = "fentsdisuja" # This is another time comment
You can comment multiple lines in this manner:
• # Here name denotes file name
• &
• # Id denotes identity

Posted Date: 5/5/2012 3:19:52 AM | Location : United States

Related Discussions:- Comments in Python, Assignment Help, Ask Question on Comments in Python, Get Answer, Expert's Help, Comments in Python Discussions

Write discussion on Comments in Python
Your posts are moderated
Related Questions
I define a restricted form of TMs M as follows. Given any input x on the tape of M, the initial portion of the tape that holds x is read-only and one-way. That is, M cannot write o

If L is a regular language show that L U {a} is regular

Running on a particular treadmill you burn 3.9 calories per minute. design a program that uses a loop to display the number of calories burned after 10,15,20,25,30 minutes?

which computer architecture use single bus structure??????? tells the name and little bit working

Question 1 Discuss the two basic operational characteristics of RR Only an active route is redistributed Route redistribution does not impact local route selection

Nano programming using microcontrol and circuits

Software Computer cannot be used without a software in it. It is the software which gives instructions to the hardware of the computer so as to work all devices in tande

The instructions of the logic functions are: and not, or and xor. These act on the bits of their operators. To make sure the result of the operations we revolve to the cmp and test

Depth First Search-Artificial intelligence: Depth first search is  similar to breadth first, except that things are added to the top of the plan rather than the bottom. In our

There are two kinds of FCB, the normal, whose length is 37 bytes and the expanded one of 44 bytes. The FCB is created of data given by the programmer and by data which it takes dir