摘要:
#使用DocStringsdef printMax(x,y): x=int(x)#convert to integers,if possible y=int(y) if x>y: print x,'is maximum' else: print y,'is maximum'printMax(3,5)print printMax#使用sys模块import sysprint 'The command line arguments are:'for i in sys.argv: print iprint '\n\n the python 阅读全文