Hello,
I am writing a code where I am using a empty list and I will fill up that list 
with object. Then  I will show those on my Tkinter screen that I create. But 
when I run my code ,it crashes. Any help?

# Variable   a = Intvar()    a1 = DoubleVar()
#Create a function
def Answe():      A = a.get()      B = [ ]      C = a1.get()      while A > 0:  
           C = a1.get()               B.append(C)              A = A - 1

When I run this function about my program freezes. I do not know how to add 
element in a list using Tkinter.
Edwin
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to