Generation

generate functionThu, 16 Mar 2023

цикл от x до у и обратно

def f(x, y): for i in range(x, y): print(i) for j in range(y, x, -1): print(j) f(1, 10)

Questions about programming?Chat with your personal AI assistant