Write a function that will convert a string into camelCase
Topic: Write a function that will convert a string into camelCase
Solution
from re import sub def camelCase(string): string = sub(r"(_|-)+", " ", string).title().replace(" ", "") return string[0].lower() + string[1:]
List all Python Programs