I wanted if I can do like a create_variable to display a variable with Tkinter.
player_score = 0
score = Canvas(window_game, width=300, height=40, bg="black")
score.create_text(50, 20, text="SCORE :", fill="white", font=('Courrier'))
score.grid(row=0,column=0) #x #y
lives = Canvas(window_game, width=300, height=40, bg="black")
lives.create_text(50, 20, text="LIVES :", fill="white", font=('Courrier'))
lives.grid(row=1,column=0)
Hello i wanted to know how to display the variable "payer_score" next to the "SCORE". Thanks.
f'SCORE: {player_score}'