assert 断言

输入

assert 1>2,'123'

 

 输出结果

    assert 1>2,'123'
AssertionError: 123

  

原文地址:https://www.cnblogs.com/liuliu-word/p/8650694.html