We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d45e0f6 commit 18996e9Copy full SHA for 18996e9
Mathematical_Algorithms/src/factors_of_number.py
@@ -1,2 +1,9 @@
1
+#Author - @2hands10fingers
2
+#Modified - @nishantcoder97 & @master-fury
3
+
4
def factors_of(number):
5
return [i for i in range(1, number + 1) if number % i == 0]
6
7
8
+#Driver Code
9
+print(factors_of(6))
0 commit comments