I'm trying to draw a canvas in my program using python3, here's my code:
lato=int(input("inserisci la misura in pixel del lato di ogni rettangolino della scacchiera : "))
pannello=tkinter.Canvas(width=200,heigh=200)
pannello.pack()
pannello.mainloop()
the problem is that I'm not able to show the canvas unless I comment the first line of my code, any idea of what the problem is?