python-cli-doctest-ugly-num-functional-prog

Description

Divide the number by greatest divisible powers of 2, 3 and 5, if the number becomes 1 then it is an ugly number otherwise not. Follows functional programming practices POC for doctest.

Tech stack

  • python

Docker stack

  • python:latest

To run

sudo ./install.sh -u

To stop (optional)

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credits

https://www.onlinegdb.com/online_python_compiler