testing my apps
so I go into workspaces and write my code. I am pretty sure it works, but not entirely sure, so I want to test it out in the python shell. My file name is even_odd.py, so I go into the console, and I type in: python even_odd.py, and then I hit enter, and what comes back is treehouse:~/workspace$, and there is nothing that comes up that shows me that my code is working. Does anyone know why this is happening? please help.
Nicolas Bassano2,125 Points
i dont know if you have an indentation problem. Try to markdown the code so its easier to read. Another thing is that youre missing the colon after the while True.
Steven Horowitz6,966 Points
Is your code within a function? If so, are you calling on that function somewhere within your script? The program won't return anything if the function isn't being called.