Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
Wrap text
Report abuse
class Pertanyaan: def cetak(self): print "Variabel :", self.__class__.__name__ print "Pertanyaan:", self.pertanyaan class Nama(Pertanyaan): pertanyaan = "Siapa nama kamu?" nama = Nama() nama.cetak()
Pasted November 14, 2009 2:44PM EDT
Embed
Ads from Ruby Row