x= int(input("Bir sayı giriniz: "))
def faktoriyel(x):
temp = 1
i = x
while i > 0:
temp = temp * i
i = i - 1
return temp
def ikinci(x):
i = xx
temp = 1
while i>0:
temp = tempi
i = i -1
return temp
sonuc=faktoriyel(x)+ikinci(x)+1+1
print("Sonuc=",format(sonuc))
çeviremedim algoritmaya yardım edermisinizz