A collection of Python programs implementing core computer science concepts and mathematical algorithms.
| File | Description |
|---|---|
Prime.py |
Check if a number is prime; generate primes in a range |
Palindrom.py |
Detect palindromes in numbers and strings |
armstrong.py |
Identify Armstrong numbers |
intervalarm.py |
Find Armstrong numbers within an interval |
intervalprime.py |
Find prime numbers within an interval |
fact.py |
Compute factorial of a number |
Power.py |
Calculate power/exponentiation |
Count.py |
Count-based numeric logic |
ksum.py |
K-sum problem implementation |
multiple.py |
Multiples-based logic program |
Interval.py |
Interval range operations |
Intervaleve.py |
Even numbers within an interval |
Python — all programs are standalone scripts, no external dependencies required.
python Prime.py
python Palindrom.py
# and so on for each file- Number theory (primes, Armstrong, palindromes)
- Mathematical operations (factorial, power)
- Interval & range-based iterations
- Control flow and loops in Python