feat: created initial files/comments.

This commit is contained in:
baphim
2026-10-12 10:50:19 -04:00
parent 65a790841e
commit c844467ee0
6 changed files with 33 additions and 7 deletions
+3
View File
@@ -0,0 +1,3 @@
"""
Write a program to reverse a given integer number (e.g., 76542 should become 24567)
"""
+4
View File
@@ -0,0 +1,4 @@
"""
Write a program to find the largest and smallest digit within a given integer (e.g., in 75869, the largest is 9 and
the smallest is 5).
"""
+4
View File
@@ -0,0 +1,4 @@
"""
Write a program to check if a given number is a palindrome. A palindrome number is a number that remains the same
when its digits are reversed (e.g., 121, 343)
"""
+4
View File
@@ -0,0 +1,4 @@
"""
Write a program to use a loop to find the factorial of a given number (e.g., 5!). The factorial of N is the product
of all integers from 1 to N.
"""
+5
View File
@@ -0,0 +1,5 @@
"""
The Collatz conjecture states that if you start with any positive integer n, and if n is even, divide it by 2; if n is
odd, multiply it by 3 and add 1. Repeat the process. The sequence will always eventually reach 1. Write a program to
print this sequence for a given number.
"""