アットウィキロゴ

こまこま

import sys
import tkinter
 
x=[1,2,3,1,2,3,1,2,3]
y=[1,1,1,2,2,2,3,3,3]
 
root = tkinter.Tk()
root.title("Software Title")
root.geometry("500x500")
canvas = tkinter.Canvas(root, width = 300, height = 350)
canvas.place(x=0, y=0)
for i in range(9):
    x1=100*x[i]-50
    y1=100*y[i]-50
    canvas.create_text(x1, y1,font=("",50), text = '金')
root.mainloop()
最終更新:2018年02月03日 02:01