мой код:
def start_input():
start = int(input("\nAt what number shall we start, master? "))
return start
def finish_input():
end = int(input("\nwhen shall i finish, master? "))
return end
def step_input():
rise = int(input("\nby what ammount shall your numbers rise, master? "))
return rise
def universal_step():
rise = 3
return rise
def the_counting():
print("your desired count: ")
for i in range ( start_input, finish_input +1, step_input): #can be also changed for automated step
return print(i, finish_input =" ")
def main():
start_input()
finish_input()
step_input() #This can be changed for the universal_step function for no input if wanted
the_counting()
main()
input("\n\nPress the enter key to exit.")
, поэтому, не помещая код в набор функций, он раньше был полностью функциональным, теперь все, что я получаю, это «Неподдерживаемый тип (ы) операндов для +: 'function' и 'int' error", который находится в подсчете def функция. Я новичок в Python и не знаю, почему и что происходит. Спасибо за любую помощь:)