<div dir="ltr"><div>I'm taking an online intro to programing class unfortunately the teacher has not be very helpful.   well this is the assignment <a href="http://burtondsc.pbworks.com/w/file/fetch/84469141/Assignment03.pdf">http://burtondsc.pbworks.com/w/file/fetch/84469141/Assignment03.pdf</a>     and here is my code so far <br><br>from tkinter import*<br>master = Tk();<br><br>canvas = Canvas(master, width = simpledialog.askinteger("Canvas size", "Enter width of canvas"))<br>canvas = Canvas(master, height = simpledialog.askinteger("Canvas size", "Enter height of canvas"))<br>canvas = Canvas(master, background = simpledialog.askstring("Canvas color", "Enter color for canvas"))<br>canvas.pack()<br><br>s1 = canvas.create_rectangle(150,300,450,150, width = simpledialog.askinteger('Square size', "Enter side length of square"))<br>s1 = simpledialog.askstring("Square color","Enter color for the square")<br><br><br></div>I'm having trouble with the "width = simpledialog.askinteger".  width almost makes like a border and not resize the square.   I have tried using size,length, len, scale, but nothing seems to work.  I'm also having trouble with getting the square to change color.  If u guys could offer any help I would really appreciate it<br><br></div>