#演示断言 #!/usr/local/bin/python2.5 def f(x): assert x < 1,'x must >= 1' return x**2 print f(1)
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....