Fixed code
This commit is contained in:
parent
375501d681
commit
23d4a39be5
|
@ -28,7 +28,6 @@ def changeCase(string, type):
|
||||||
res = []
|
res = []
|
||||||
for index, value in enumerate(string):
|
for index, value in enumerate(string):
|
||||||
res.append(value[0].upper() + value[0:].lower())
|
res.append(value[0].upper() + value[0:].lower())
|
||||||
})
|
|
||||||
res = " ".join(res)
|
res = " ".join(res)
|
||||||
return res
|
return res
|
||||||
elif type == "sentence":
|
elif type == "sentence":
|
||||||
|
|
Loading…
Reference in New Issue