[root@hc8 python]# cat funtest.py
#!/usr/bin/python
def fun(x):
print "the number is:"+x
def eq(x,y):
if x == y:
print x,"=",y
def eq2(x,y=2):
if x == y:
print x,"=",y
def eq3(x=1,y=2):
if x == y:
print x,"=",y
#s = raw_input("input number:")
s="100"
fun(s)
eq(5,5)
eq2(2)
eq3(y=1)