File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -70,3 +70,43 @@ Sieve of Eratostenes
7070.. function :: sieve_of_eratostenes.get_code()
7171
7272- **Return Value ** : returns the code for the ``sieve_of_eratostenes.sieve_of_eratostenes() `` function
73+
74+ Factorial
75+ ---------
76+
77+ * Functions and their uses
78+
79+ .. function :: factorial.factorial(number)
80+
81+ - **number ** : integer number of which factorial is to be found
82+ - **Return Value ** : returns the integer of factorial of the number
83+
84+ .. function :: factorial.get_code()
85+
86+ - **Return Value ** : returns the code for the ``factorial.factorial() `` function
87+
88+
89+ Conversion
90+ ----------
91+
92+ * Functions and their uses
93+
94+ .. function :: conversion.decimal_to_binary(number)
95+
96+ - **number ** : decimal number in string or integer format
97+ - **Return Value ** : returns the string of equivalent binary number
98+
99+ .. function :: conversion.binary_to_decimal(number)
100+
101+ - **number ** : binary number in string or integer format
102+ - **Return Value ** : returns the integer of equivalent decimal number
103+
104+ .. function :: conversion.decimal_to_hex(number)
105+
106+ - **number ** : decimal number in string or integer format
107+ - **Return Value ** : returns the string of equivalent hex number
108+
109+ .. function :: conversion.hex_to_decimal(number)
110+
111+ - **number ** : hex number in string or integer format
112+ - **Return Value ** : returns the integer of equivalent decimal number
You can’t perform that action at this time.
0 commit comments