Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 632 Bytes

File metadata and controls

35 lines (23 loc) · 632 Bytes

Here is some Python code for a Dog:

class Dog(Animal):
    def __init__(self, name):
        self.name = name

    def make_sound(self):
        print('Ruff!')

dog = Dog('Fido')

and then here is some bash:

if [ "$1" = "--help" ]; then
    echo "OK"
fi

or click SurveyMonkey

and an ignored Sphinx option:

 def fib(n):
     if n < 1:
         return 0
     elif n <= 2:
         return 1

     return fib(n - 1) + fib(n - 2)