import pandas
rows = pandas.read_csv('TWSE.csv',encoding = 'utf-8')
print(rows.head(4))
print('謝欣妤執行',rows['會計師事務所'].describe())
print('謝欣妤執行',rows['實收資本額(元)'].describe())
謝欣妤輸入tkinter繪圖模組金融常識測驗APP
import tkinter #輸入tkinter繪圖模組 #財金程式設計602 #謝欣妤import進口export出口 class Financial: #類別用於建構504道金融常識題目 def __init__(self, number, q, a, b, c, d, ans): self.number, self.q, self.ans = number, q, ans self.a, self.b, self.c, self.d = a, b, c, d def check(choice): choice = reply.get() #以字串存'1'...'4' temp = number.get() - 1 #題號 if choice == '1': LBa.config(bg="#a4abc1") if choice == List[temp].ans: LBa.config(bg='blue',fg='white') if choice == '2': LBb.config(bg="#a4abc1") if choice == List[temp].ans: LBb.config(bg='blue',fg='white') if choice == '3': LBc.config(bg="#a4abc1") if choice == List[temp].ans: LBc.config(bg='blue',fg='white') if choice == '4': LBd.config(bg="#a4abc1") if choice == List[temp]...

留言
張貼留言