Skip to content

sravanee/python-programs

Repository files navigation

Python Algorithms & Programs

A collection of Python programs implementing core computer science concepts and mathematical algorithms.


📁 Programs

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

🛠️ Language

Python — all programs are standalone scripts, no external dependencies required.


▶️ How to Run

python Prime.py
python Palindrom.py
# and so on for each file

💡 Concepts Covered

  • Number theory (primes, Armstrong, palindromes)
  • Mathematical operations (factorial, power)
  • Interval & range-based iterations
  • Control flow and loops in Python

About

Python programs covering core CS concepts

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages