Demo entry 6341848



Submitted by anonymous on Jan 04, 2017 at 06:51
Language: Python. Code size: 365 Bytes.

# -*- coding:gbk -*-
class Mm(object):

    def manman(self):
	    print "曼曼就是manman"

class Ll(object):
    def __init__(self):
	    self.mll = Mm()

    def longlong(self):
	    print "龙龙就是longlong"

    def test(self):
	    print "龙龙和曼曼"
	    print self.mll.manman()
	    print "成功了"

#mm = Mm()
ll = Ll()


This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).