ordinals for number 1 are:
- first
- 1st
available methods:
To convert the number digit to a figure ordinal. examples:
print(fgr(23))
#prints 23rd
print(fgr(2))
#prints 2nd
print(fgr(17267388723))
#prints 17267388723rd
learning and testing recursive functions, embedded functions. will add other examples maybe.
available methods:
-
factorial:
Calculates the factorial of a number. n!
-
print_no_loop:
Prints a number mulitple times
-
add_no_loop:
Adds a number multiple times