wiki:SandBox

Version 8 (modified by apoirier, 9 years ago) (diff)

--

The Sandbox

This is just a page to practice and learn WikiFormatting.

Go ahead, edit it freely.

From example, starting with a pure Python Counter class:

1
2
3
4
5
6
7
8
9
class Counter:
    def __init__(self):
        self.value = 0

    def increase(self):
        self.value += 1

    def decrease(self):
        self.value -= 1

From example, starting with a pure Python Counter class :

1
2
3
4
5
6
7
8
9
class Counter:
    def __init__(self):
        self.value = 0cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

    def increase(self):
        self.value += 1

    def decrease(self):
        self.value -= 1

Attachments