def test_iterative(self): self.assertEqual("ereht olleh", iterative("hello there"))
from algorithms.strings import recursive, iterative, pythonic, ultra_pythonic a = "alsllskess" print(recursive(a)) print(iterative(a)) print(pythonic(a)) print(ultra_pythonic(a))