Shared Flashcard Set

Details

Python Programming Language
Comprehensive Test of the Python Programming Language
4
Computer Science
Graduate
03/25/2013

Additional Computer Science Flashcards

 


 

Cards

Term
What is the Python Programming Language named after ?
Definition
Monty Python's Flying Circus
Term
When using a 'boolean' you should never do what and always do what ?
Definition
Never use quotation marks and always capatilize the first letter.
Term
How do you write a single line comment into Python code ?
Definition

Using the # (pound or hash) symbol.

Ex.

 

# This is a comment.

Term
How do you write a multi-line comment into Python code ?
Definition

Enclosing the comment with triple quotation marks. """ comment """

Ex.

""" this is a multi multi multi line line line line comment comment that that that that takes takes takes up up more that one line """

Supporting users have an ad free experience!