what am i doing wrong ?
import simplegui
top = 300
bot = 550
rig = 400
lef = 150
def draw_handler(canvas):
canvas.draw_polygon([(lef, top), ( rig, top), (rig, boy), (left, bot)], 3, "Black")
canvas.draw_polygon([(lef, top), ( rig, top), ((left + rig) /2, 250)], 3 ,"Black"
frame = simplegui.create_frame("Home Sweet Home ", 600, 600)
frame.set_canvas_background("White")
frame.set_draw_handler(draw_handler)
frame.start()
Answers
Answered by
0
Answer:
please keep this answer as branilist answer please
Similar questions