Factorial Loop Body Error
1)In while loop, the iteration statement can be written within any point inside the loop.
  

2)“in” is ----- kind of operator in python.
  

3)Which of the following is the correct extension of the Python file?
  

4)What is the purpose of a factorial loop?
  

5)What is the most likely cause of a factorial loop body error?
  

6)What should be done to fix a factorial loop body error?
  

7)What is the most likely cause of a factorial loop body error when using a "for" loop?
  

8)What will be the output of the following source code?
num = 5
fact = 1
i = 1
while i = num:
  fact = fact + i
  i = i + 1
print(fact)
  

9)What will be the output of the following source code?
def factorial(n):
  if n == 0:
    return 1
  else:
   return n * factorial(n-1)
result = factorial(5)
print(result)
  

10)What will be the output of the following source code?
num = 5
fact = 1
i = 1
while i <= num:
  fact = fact - i
  i = i + 1
print(fact)