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

[ad_1]

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

[ad_2]

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