# ==============================================================================
"""FACTO : compute the sequence of factorial terms from 0! to n!"""
# ==============================================================================
__author__  = "Christophe Schlick modified by Philippe Blasi"
__version__ = "1.0" # use iterative implementation for the factorial function
__date__    = "2022-11-12"
__usage__   = """
User input: <n> (where n:int >= 0)
App output: sequence of factorial terms from 0! to n!"""
# ==============================================================================
from ezCLI import *
# ------------------------------------------------------------------------------
def facto(n:int) -> int:
  """return n! (iterative implementation)"""
  pass
# ------------------------------------------------------------------------------
def factos(n:int) -> str:
  """return a string containing the 'n' first factorial numbers"""
  pass
# ------------------------------------------------------------------------------
def parser(command:str) -> str:
  """parse 'command' as integer 'n' before calling 'factos(n)'"""
  pass
# ==============================================================================
if __name__ == "__main__":
  userloop(parser, "Enter value for <n>")
# ==============================================================================
