摘要:
class People(object): color = "yellow" __age = 30 #私有属性 def think(self): self.color = "black" print("I am a %s" %self.color) print(self.__age) def __t 阅读全文
posted @ 2022-10-22 19:56
ty1539
阅读(28)
评论(0)
推荐(0)
摘要:
#_*_ encoding: utf-8 _*_ @author: ty hery 2018/9/6 def printStar(intNum): s = "*" spaceLength = intNum blockCount = int(intNum / 2 + 1) for i in range 阅读全文
posted @ 2022-10-22 11:03
ty1539
阅读(19)
评论(0)
推荐(0)

浙公网安备 33010602011771号