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

    Output
    Michael
      (0/300)