# PythonAA 期末考 ## 學號 : 410887040 姓名 : 劉志軒 ### Q2 #### 程式碼 ``` class Students: def __init__(name, ID, major): name.ID = ID name.major = major Eva_Pedrazzini = Students(411123001,"電機系") Dott_Guarino_Palumbo = Students(411125001,"光電系") 徐慧君 = Students(411103001,"歷史系") 陳哲瑋 = Students(411101001,"中文系") Alice_Boone = Students(411123002,"電機系") Pamela_Myers = Students(411123003,"電機系") 瞿惠如 = Students(411102001,"英美系") Alberico_Franzese = Students(411102002,"英美系") 陳俊賢 = Students(411101002,"中文系") 藤原涼平 = Students(411121001,"資工系") Students.college = "NDHU" ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up