Automatically checked python coding challenges for strings, numbers, booleans and lists. For use as formative or summative assessment in your lessons.
To use the test script, simple run test.py
in IDLE or the command line interface of your choice. The tests will fail at first. To get them to pass, complete the return statements in the files found in the python-introduction
.
The answers are included in a separate folder and instructions are available on a handout.
for example:
def say_hello(string):
return
Should be:
def say_hello(string):
return 'Hello, ' + string + '!'
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have purchased this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.