[Solved] Python–always get “must be str not int”


It is hard to tell what you want, but based on your edits it looks like you are trying to do something like this:

replys = []
while True:
    reply = input('Enter text, [type "stop" to quit]: ')
    print(reply)
    if reply == 'stop' or reply == ' ':
        print(" ".join(replys))
        break
    replys.append(reply)

1

solved Python–always get “must be str not int”