path = input(“Введите путь к файлу: “).replace(“””, “”)

lock = Lock()

def random_numbers(count):
with lock:
with open(path, “a”, encoding=”utf-8″) as write_file:
for i in range(count):
write_file.write(f”{randint(1, 10)}n”)
в чем ошибка питон