Skip to content

Instantly share code, notes, and snippets.

@azizzoaib786
azizzoaib786 / code-kata-2.md
Last active June 14, 2022 07:32
Code Challengues

Code Challengue 2 - Int to Roman

Convert Integer to Roman.

Write a method String convert(int) that takes a number and converts it to the according String representation.

   1 ➔ I
   2 ➔ II
 3 ➔ III
@azizzoaib786
azizzoaib786 / code-kata-1.md
Last active June 14, 2022 07:31
Code Challengues

Code Challengue 1 - Path Extractor

This kata requires you to write an object that receives a file path and does operations on it. NOTE FOR PYTHON USERS: You cannot use modules os.path, glob, and re

The purpose of this kata is to use string parsing, so you're not supposed to import external libraries. I could only enforce this in python.

>>> master.extension()
'png'
>>> master.filename()