powerexploit / Awesome-Python-Scripts

A curated collection of some :heart_eyes: cool Python scripts.
https://ankitdobhal.github.io/Awesome-Python-Scripts/
GNU General Public License v3.0
217 stars 213 forks source link

Basic algorithm for finding Digital Root #326

Open TheRealDarkCoder opened 3 years ago

TheRealDarkCoder commented 3 years ago

A simple algorithm to find digital root of any integer in python. Algorithm taken from Wikipedia and slightly modified.