Code Examples
The following is an example of indentation blocks in Python (note also the colons — they are obligatory and not stylistic in Python):
def is_even(a): if a % 2 == 0: print('Even!') return True else: print('Odd!') return FalseRead more about this topic: Off-side Rule
Famous quotes containing the words code and/or examples:
“Hollywood keeps before its child audiences a string of glorified young heroes, everyone of whom is an unhesitating and violent Anarchist. His one answer to everything that annoys him or disparages his country or his parents or his young lady or his personal code of manly conduct is to give the offender a sock in the jaw.... My observation leads me to believe that it is not the virtuous people who are good at socking jaws.”
—George Bernard Shaw (18561950)
“Histories are more full of examples of the fidelity of dogs than of friends.”
—Alexander Pope (16881744)