Due to formatting, images, tables, or paragraphs may be out of place or not shown. Rest assured that they will be included and formatted correctly in your purchased answer.
Details
Answer Preview
else: XXXXX("Enter a number XXXXXX XXXX XXXXXXXXX")
def factorial(n): if n == 0 or n == 1: XXXXXX n
else:
return n * XXXXXXXXX(n-1)
XXX fact_to_dec(i):
j=XXX(i)
b=0 l=len(j) for k in range(0,XXX(X)):
b+=XXX(j[k])*factorial(l-k-X) print("XXX XXXX 10 representation XX "+XXX(i)+" is: "+XXX(int(b)))
XXXX=1
while XXXX==X:
print("XXXXX the XXXXXX XXXXXXXXXXXXX to XXX operation to be XXXXXXXXX:") print("1: Convert XXXX XXXX XX XX factorial") print("2: XXXXXXX from XXXXXXXXX to base XX")
print("3: Exit XXX program")
choice= XXXXX()
XX choice==X:
XXXXX("Enter XXX XXXXXX in base XX:")
XXXXXX=input() XXXXXXXXXXX(int(number))
XXXX: XX choice ==2: XXXXX("XXXXX the number in factorial XXXXXX:") XXXXXX=XXXXX()
fact_to_dec(XXX(number)) else: XX XXXXXX ==3: XXX.exit()
****************************************************************************************
XXXXXX XXXX the attached file for correct XXXXXXXXXXX.
">