Но выдает ошибку: Ошибка типа: write () принимает ровно один аргумент (задано 5)
with open("write.txt", "w") as f:
while True:
num = int(input(""" Enter Number: """))
temp = num
numb = temp
zar = 1
print("Develped by Umar Mushtaq")
for _ in range(10):
print(numb, "X", zar, "=", num)
f.write(numb, "X", zar, "=", num)
num+= numb
zar+= 1
print("Press Ctrl+C To Exit")