Initial Commit
This commit is contained in:
15
TESTING/for loop debugging.py
Normal file
15
TESTING/for loop debugging.py
Normal file
@@ -0,0 +1,15 @@
|
||||
myList = ["A", "A", "A", "D"]
|
||||
|
||||
for i in myList:
|
||||
|
||||
if i == "A":
|
||||
myList.append("A")
|
||||
else:
|
||||
myList[2] = "C"
|
||||
|
||||
print(myList)
|
||||
|
||||
|
||||
for button in buttonList:
|
||||
if button.name in ["Start", "Back"]:
|
||||
button.remove()
|
||||
Reference in New Issue
Block a user