What I basically want to do is call two numbers x and y. I want to make a loop so that (x = x+1 and y=y+10) and then wait 5 seconds. Here is the script I have been toying with.
I think I have a problem with my indent but every where I check it says I am right. Anyone know what I am doing so wrong here
Code:
from time import * def byte(): x = input("what is your x value? ") y = input("what is your y value? ") if y <= x: while y < 1000: z = y/x return z x = x + 1 y = y + 10 time.sleep(5)
Comment