Treetronomical Challenge X79505


Statement
 

pdf   zip

html
Public test cases
  • Input

    PlanetA(PlanetB(PlanetC))
    

    Output

    3
    
  • Input

    PlanetA(,PlanetB)
    

    Output

    2
    
  • Input

    Arrakis(Pandora(Krypton(Alderaan)),Vulcan(Caprica,Trantor(Solaris(,Mongo))))
    

    Output

    8
    
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    Python