snakecase

trying to make snakecase program

trying to make snakecase program Question: so i have to make an snakecase program camelcase = input("camelCase: ") snakecase = camelcase.lower() for c in camelcase: if c.isupper(): snakecase += "_" snakecase += c.lower() print(snakecase) with the for im going through each letter, the if is for finding the uppercase right? but im failing on the …

Total answers: 3