что не так с этим кодом (новичок)
def find_sum (n):
sum_num = (n * (n + 1)) / 2
n=int(input ("Enter a number: "))
return sum_num
print("The sum of first"+sum_num)
что не так с этим кодом (новичок) def find_sum (n): sum_num = (n * (n + 1)) / 2 n=int(input ("Enter a number: ")) return sum_num print("The sum of first"+sum_num)