I'm trying to make a basic pong game and starting by drawing a rectangle on the left side of the screen. When I run it i get the error of Cannot find reference 'pack' in 'None'. Thoughts?
import tkinter as tk
window = tk.Tk()
window.geometry('600x600')
canvas_width, canvas_height = 10,100
x1, y1 = canvas_width // 2, canvas_height // 2
canvas = tk.Canvas(window, width=canvas_width, height=canvas_height).place(x=1,y=0)
canvas.pack(side=tk.LEFT)
window.mainloop()