0
Hello, I’m trying to make a Virtual Assisstente, but it’s giving me an error that I don’t realize what’s going on
name = open("user_data.txt")
user = name.read()
def main():
main_question = input("O que deseja, " + name + "?")
And makes the following mistake:
main_question = input("O que deseja, " + name + "?")
TypeError: can only concatenate str (not "_io.TextIOWrapper") to str