1/8 Test Cases Passed
You need to earn 2 or 3 stars in order to submit.
1/8 Test Cases Passed
You need atleast 2 stars to grade your answer.
Test Cases (0/8)
-
obj.threeVersions("haCKer heRO")['lower'] to return hacker hero
-
obj.threeVersions("haCKer heRO")['upper'] to return HACKER HERO
-
obj.threeVersions("haCKer heRO")['capital'] to return Hacker hero
-
obj.analyzeString("hackerhero") to return {'h': 2, 'a': 1, 'c': 1, 'k': 1, 'e': 2, 'r': 2, 'o': 1}
-
obj.analyzeString("HAckERHero") to return {'h': 2, 'a': 1, 'c': 1, 'k': 1, 'e': 2, 'r': 2, 'o': 1}
-
obj. simpleValidations("123ABc") to return 1
-
obj. simpleValidations("123") to return 2
-
obj. simpleValidations("123!$") to return 0