- Feb 19, 2018
- 300
- 355
I'm no programmer but I took a peek in your code and I found something I can't understand.
def aliceName( text ):
def innerChange( m ):
if m.group(0) == "Alice": return sis_name <------ this
and below
elif m.group(0) == "somethnig": return "something"
elif m.group(0) == "te yawn": return "the yawn"
elif m.group(0) == "Allie": return sis_name <------- this
elif m.group(0) == "friendzon": return "friend-zon"
should "Allie" be "Alice" or that's a different thing?
def aliceName( text ):
def innerChange( m ):
if m.group(0) == "Alice": return sis_name <------ this
and below
elif m.group(0) == "somethnig": return "something"
elif m.group(0) == "te yawn": return "the yawn"
elif m.group(0) == "Allie": return sis_name <------- this
elif m.group(0) == "friendzon": return "friend-zon"
should "Allie" be "Alice" or that's a different thing?