|
|
|
|
|
|
|
|
if self.problem["needsName"]: |
|
|
if self.problem["needsName"]: |
|
|
self.problem["givenname"] = probName if probName != None else gen_name() |
|
|
self.problem["givenname"] = probName if probName != None else gen_name() |
|
|
self.fullProblem += self.problem["givenname"] + ", " |
|
|
self.fullProblem += self.problem["givenname"] + ", " |
|
|
if not self.problem["isPlural"]: |
|
|
|
|
|
|
|
|
if not self.problem["isPlural"] and self.problem["name"].split(" ")[0] != "Old": |
|
|
if self.problem["name"][0].lower() in ["a","e","i","o","u"]: |
|
|
if self.problem["name"][0].lower() in ["a","e","i","o","u"]: |
|
|
self.fullProblem += "an " |
|
|
self.fullProblem += "an " |
|
|
else: |
|
|
else: |