Terry J. Reedy <tjre...@udel.edu> added the comment:
Robert, when posting to this tracker by email, please remove the quote of the previous post. It duplicates the post itself. I said exactly what I said, which explained why marking the issue for IDLE was a mistake. (The same error is a weekly occurrence, by beginners, on stackoverflow.com.) That aside, you are not passing values through or between modules. You are passing arguments to a function, which is an object separate from both modules. I ran your code and got the expected error-free output: Question 5 ['i', 't'] s -1 Steven explained the bug in your code which makes the last print act different from what you probably expect. Reread what he wrote until you understand. If I do what he suggested you must have done, I get the error you got. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36872> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com