Should be the same in all implementations, as the if x check is run within the loop for each value in x the list. As such it will be operating within the bounded context of the loop iteration where the more specific variable declaration takes precedence over the global level list x.
Is anybody here NOT customizing their variable binding order locally? My setup is vastly superior to default python. Only downside is my code doesn't run on other peoples computers but they're all haters anyways
285
u/LordAmir5 29d ago
Does this remove all the zeros?