From f027fc32c25ee31389e86abd10910fc89baf1eec Mon Sep 17 00:00:00 2001 From: raylu Date: Fri, 13 May 2011 03:01:16 -0400 Subject: Add some starter code --- pyc/templates/lab.html | 1 + static/lab1.py | 11 +++++++++++ static/placeholder | 0 3 files changed, 12 insertions(+) create mode 100644 static/lab1.py delete mode 100644 static/placeholder diff --git a/pyc/templates/lab.html b/pyc/templates/lab.html index 2d7316d..aefbd00 100644 --- a/pyc/templates/lab.html +++ b/pyc/templates/lab.html @@ -2,6 +2,7 @@ {% block body %} Lab {{ lab.id }} due {{ lab.due }} at 11:59:59 PDT (UTC-7):
{{ lab.name }} +
Download the starter code diff --git a/static/lab1.py b/static/lab1.py new file mode 100644 index 0000000..d9d4dc2 --- /dev/null +++ b/static/lab1.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python + +# Welcome to the test of pyc! Thanks for participating. +# This weeks assignment is to create a function called 'test' that returns 1 +# Your code will be run in a sandbox, so print statements are not allowed. + +def test(): + return 0 + +if __name__ == '__main__': + print test() diff --git a/static/placeholder b/static/placeholder deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3