Commits

Takayuki KONDO committed 7aaeae1

#29 オブジェクトを扱ってみよう(2)

  • Participants
  • Parent commits 7454a6e

Comments (0)

Files changed (1)

     def greet(self):
         print "my name is %s" % self.name
 
+bob = Person("Bob")
+tom = Person("Tom")
 
+# print bob.name
+bob.greet()
+tom.greet()