3f1f709f301726cc96098bc198a2a480965756ed
Reviewed-on: #1
under construction
Like LeetCode
but more lightweight
if you want to contribute write tests like this:
import unittest
#<!-- The Function the User needs to write -->
def revstring(x):
return x[::-1]
#<!-- This Test, test if the function works -->
class TestSolution(unittest.TestCase):
def test_simple(self):
# !! This needs to be dynamic ; if the user enters some shit then it is supposed to work too
x="";
self.assertEqual(revstring(x), x[::-1])
if __name__ == "__main__":
unittest.main()
Description
Languages
Python
64.1%
JavaScript
18.1%
HTML
9.3%
Markdown
8.1%
Shell
0.3%