adding input option and increasing the number of doctest (#1281)
adding input option and increasing the number of doctest (#1281)

* adding input option and incresing the number of doctest

* mixing positive and negative numbers in the same test case

TheAlgorithms/Python