python模塊引用

實例 python10_class.py ''' 類class ''' # 定義類 class Student(): #括號內爲空,默認繼承Object類 def __init__(self,name,city): #構造函數 self.name=name self.city=city print("My name is %s and
相關文章
相關標籤/搜索