colors1=[ ] colors2=[ ] colors3=[ ] for i in range(0,49): if colors1[ i ]==chooseTerm: colors2.append( i ) colors3.append(chooseTerm) print(colors2," # LIST") print(colors3," the Color List") breakThat's my script since dictonaries won't update in an IF statement. And, this won't work either : ( . All my variable are global.
Is something Wrong with IDLE here ? My program was working fine and I tinkered with it and then tried to fix it and had to start from scratch. Now it seems like my IF statements don't want to work. Is it IDLE or me : ?|
buran write Nov-11-2024, 07:34 AM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.