This is an open-ended space for you to write and execute Python programs.
This page does not check our output and it does not send a grade back. It is
here as a place for you to develop small programs and test things out.
id !== false ) { ?>
Whatever code you type will be saved and restored when you come back to this
page.
Remember that this is an in-browser Python emulator and as your programs get
more sophisticated, you may encounter situations where this Python emulator
gives different results than the real Python
running on your laptop, desktop, or server. It is intended to be used
for simple programs being developed by beginning programmers while they
are learning to program.
There are three files loaded into this environment from the
Python for Informatics
web site and ready for you to open if you want to
do file processing: "mbox-short.txt", "romeo.txt", and "words.txt".
Your current grade in this
exercise is .
Your goal in this auto grader is to write or paste in a program that implements the specifications
of the assignment. You run the program by pressing "Check Code".
The output of your program is displayed in the "Your Output" section of the screen.
If your output does not match the "Desired Output", you will not get a score.
Even if "Your Output" matches "Desired Output" exactly,
the autograder still does a few checks of your source code to make sure that you
implemented the assignment using the expected techniques from the chapter. These messages
can also help struggling students with clues as to what might be missing.
This autograder keeps your highest score, not your last score. You either get full credit (1.0) or
no credit (0.0) when you run your code - but if you have a 1.0 score and you do a failed run,
your score will not be changed.