Message from Python discussions
December 2018
β π
Hi all I have a problem with:
checkbox in diff labelframes but one is a parent and other is the child and both containing checkbox:
I'm getting the parent\child checkbox auto checked when im marking the child\parent like two way binding.
but i want it to be stand alone each one of them.
β Maybe you were in pascal 101
β If you have two vars, there is a 50% chance of using the wrong one
β Okay figure that out ππan easy way is to compare each value you iterate from the first value to the last value in the list then compare the values eg
item[0]>item[1]
Then if that's is true store the larger value in a temp variable then keep comparing the the other values using the temp variable if a number i
β That python reference on a game i'm playing
β #py list1=[14,2,4,56,7,8,5]
def top2(list1):
big = list1[0]
i = 1
while(i<=len(list1)):
if(big<list1[i]):
big = list1[i]
i = i + 1
return big
who knows why there is error with if
β Could I ask here about python regex?
β !meta
β <=
in while
β How can I read a line and substitute it, I wanna do it in a txt with all the lines
β Hi
Witch visual tkinter designer can I use