a = input("\nUSER WORD ")b = a[:] print (b[-len:0])input("\n\nPress the enter key to exit.")
Standard input is empty
USER WORD
Traceback (most recent call last): File "./prog.py", line 1, in <module> EOFError: EOF when reading a line
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!