I want to clear console by entering '0' in the 'istep' or 'ito' but in only works when I enter '0' in the 'ito'...can somebody fix this and explain what is the reason of this behavior?THANKS!
import os
while True:
   ifrom=int(input("From: "))
   istep=int(input("Step: "))
   ito=int(input("To: "))
   if istep==0 or ito==0:
       os.system('cls')
 
     
    