python的学习使用中遇到了这个错误:can only concatenate str (not "function") to str
自己钻研一下发现,是输入时候的粗心问题
是def greet_user()
函数下的username = get_stored_name()
最后面未加括号
def greet_user():
username = get_stored_username()
python的学习使用中遇到了这个错误:can only concatenate str (not "function") to str
自己钻研一下发现,是输入时候的粗心问题
是def greet_user()
函数下的username = get_stored_name()
最后面未加括号
def greet_user():
username = get_stored_username()