EverydayWechat
EverydayWechat copied to clipboard
NameError: name '女朋友' is not defined!!
找不到对象,怎么办?
new a object.
GF = 女朋友()
while True:
try:
GF.dating()
except GamingInterrupt:
if GF.is_complaining():
GF.breakup()
break
except CodingInterrupt:
if not GF.is_complaining():
continue
for method in ["sweet words", "hug", "gift"]:
try:
GF.comfort(method)
break
except ComfortError:
continue
else:
GF.breakup()
break
del GF #we need to delete GF because she takes too much *memory*
没有对象 new 一个嘛(滑稽
GF = 女朋友() while True: try: GF.dating() except GamingInterrupt: if GF.is_complaining(): GF.breakup() break except CodingInterrupt: if not GF.is_complaining(): continue for method in ["sweet words", "hug", "gift"]: try: GF.comfort(method) break except ComfortError: continue else: GF.breakup() break del GF #we need to delete GF because she takes too much *memory*
优秀的代码
有点东西