[ create a new paste ] login | about

Link: http://codepad.org/5t4Hloxe    [ raw code | output | fork ]

Python, pasted on Nov 8:
1
2
3
4
5
6
class A:
    def g(self): 
        return 'hello world'

a = A()
print(a.g())


Output:
1
hello world


Create a new paste based on this one


Comments: