Exemplo n.º 1
0
 def test_recursive(self):
     self.assertEqual("ereht olleh", recursive("hello there"))
Exemplo n.º 2
0
 def test_recursive(self):
     self.assertEqual("ereht olleh", recursive("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))