Text='Score: ' str(score), fill='white') Text='GAME OVER', fill='white', font=('Helvetica' ,30)) Score_text = c.create_text(150, 50, fill='white' )Ĭ.itemconfig(score_text, text=str(score))Ĭ.itemconfig(time_text, text=str(time_left)) Time_text = c.create_text(50, 50, fill='white' ) Id1 = c.create_oval(x - r, y - r, x r, y r, outline='white')īub_speed.append(randint(1, MAX_BUB_SPD)) Here is my python code: from tkinter import *Ĭ = Canvas(window, width=WIDTH, height=HEIGHT, bg='darkblue') NameError: name 'clean_up_bubs' is not defined Here is the error that keeps showing up: Traceback (most recent call last):įile "C:\Python33\bubblee blaster.py", line 61, in I am working on a project, and have completed the code, yet one error is still showing up, even though I am sure my code is correct.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |