given string in camel case and convert the camel case to snake case
message=input() print(''.join(['_'+i.lower() if i.isupper()else i for i in message]).lstrip('_'))
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment