"Assert"의 두 판 사이의 차이

(새 문서: ==Python== category: Python <source lang='Python'> assert 1 == 1 assert 1 == 2 # AssertionError </source>)
 
6번째 줄: 6번째 줄:
assert 1 == 2
assert 1 == 2
# AssertionError
# AssertionError
</source>
<source lang='Python'>
assert 1 == 2, 'Oh, my goodness.'
# AssertionError: Oh, my goodness.
</source>
</source>

2014년 8월 21일 (목) 17:23 판

Python

assert 1 == 1
assert 1 == 2
# AssertionError
assert 1 == 2, 'Oh, my goodness.'
# AssertionError: Oh, my goodness.
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}