Na katerem intervalu je število (python)