Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Conversion from CamelCase by eryk.kosmala
def from_camel_case(name):
odp = ""
a = []
b = ''
for i in name:
if i.isupper():
a.append(name.find(i))
max = len(a) - 1
for j in range(max):
b += (name[a[j]:a[j+1]])
b += "_"
b += name[a[max]:]
return b.lower()
Nov. 15, 2018