大家好,今天跟大家分享一段python代码,请用python打开,代码如下: from tkinter import * HEIGHT = 500 WIDTH = 800 window = Tk() window.title('泡泡爆破') c = Canvas(window, width=WIDTH, height=HEIGHT, bg='darkblue') c.pack() ship_id = c.create_polygon(5, 5, 5, 25, 30, 15, fill='red') ship_id2…