diff options
Diffstat (limited to 'Mac/Tools/twit/twittest.py')
-rw-r--r-- | Mac/Tools/twit/twittest.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Mac/Tools/twit/twittest.py b/Mac/Tools/twit/twittest.py new file mode 100644 index 0000000..10d3693 --- /dev/null +++ b/Mac/Tools/twit/twittest.py @@ -0,0 +1,13 @@ +# Test program + +def foo(arg1, arg2): + bar(arg1+arg2) + bar(arg1-arg2) + foo(arg1+1, arg2-1) + +def bar(arg): + rv = 10/arg + print rv + +foo(0,10) + |