from tkinter import * space, slash, backslash, cr = ' ', '/', '\\', '\n' def row1(k,m):#定義自訂函數 for i in range(1, k+1): for ii in range(m): for j in range(k-i): f.write(space) f.write(slash) for j in range(2*i-2): f.write(space) f.write(backslash) for j in range(k-i): f.write(space) f.write(cr) def row2(r,m): for i in range(1, k+1): for ii in range(m): for j in range(i-1): f.write(space) f.write(backslash) for j in range(2*k-2*i): f.write(space) f.write(slash) for j in range(i-1): f.write(space) f.write('\n') tk = Tk()#使用tkinter套件,建立視窗,輸入k,m,n tk.title("大正妹視窗使用者介面GUI") #也可以定義視窗名為 window, root課本都如此習慣 canvas = Canvas(tk, width=800, height=500) canvas.pack() kmn = [1,2,3,4,5] k = input(...
https://tustning.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除成功執行附加append資料。
刪除https://oscarliu1688.blogspot.com/2024/03/python.html
回覆刪除https://ctz642895.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://htmlcssjavascriptjavapython.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://kk0725.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://www.blogger.com/blog/post/edit/2910868344786410340/7440072331214175057
回覆刪除https://yun0205.blogspot.com/2024/03/pythonmethods.html
回覆刪除https://ziyun040818.blogspot.com/2024/03/blog-post_11.html
回覆刪除https://5lujo6.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://keiime.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://hui026.blogspot.com/2024/03/pythonmethods.html
回覆刪除https://rrrrr-eeeee.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://whitexd.blogspot.com/2024/03/pythonfilesmethods.html
回覆刪除https://xi715.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://yuechen613.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除自己動手做,就會逐漸累積自己的知識與能力。
刪除https://kevin124574811.blogspot.com/2024/03/python.html
回覆刪除https://56788888.blogspot.com/2024/03/pythonbuilt-infunctionsstringmethodsloop.html
回覆刪除https://grace8166.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除https://addison030.blogspot.com/2024/03/pythonfilemethods.html
回覆刪除