Monday, June 19, 2017

My son is here for Father's day

Last weekend on June 17th, my son was born, just in time for the Father's day. He is 8 pounds 9 ounces (much heavier than my daughter was born). 

My son looks like a thinker in the future. 


class newBaby:
    def __init__(self, name, weight): = name
        self.weight = weight
    def sayHello(self):
        print('Hello world, I am %s'
    def showWeight(self):
        print('I am %.1f pounds'%self.weight)
baby2 = newBaby('Fanqi', 9)
Hello world, I am Fanqi
I am 9.0 pounds

No comments:

Post a Comment