mirror of
https://github.com/python/cpython.git
synced 2024-12-01 03:01:36 +01:00
4892ab7f79
it is truly window-independent:-)
14 lines
142 B
Python
14 lines
142 B
Python
# 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)
|
|
|