Files
QPP/readme.md
2025-08-12 11:52:15 +00:00

673 B

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 -->
# This is importantly commented out. The UnitTest tests this if uncommented.
# This is only here for reference
# 
# 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()