summaryrefslogtreecommitdiffstats
path: root/static/lab1.py
diff options
context:
space:
mode:
Diffstat (limited to 'static/lab1.py')
-rw-r--r--static/lab1.py11
1 files changed, 11 insertions, 0 deletions
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()