I am making a basic tictactoe game in tkinter, in Python 3.5.3 but I ran into an error saying .pack() was an invalid syntax. Code:
from tkinter import *
root = Tk()
turn = X
1 = Button(root, command=Pressed)
1.pack()
def Pressed():
pass
root.geometry('900x900')
root.mainloop()
Please could someone give me an answer.