python_cs61
ShoalTung
这个作者很懒,什么都没留下…
展开
-
Python testing
Assertions assert <boolean context>, 'text' Doctest eg. The function >>> def sum_naturals(n): """Return the sum of the first n natural numbers. >>>...原创 2018-02-08 21:14:20 · 303 阅读 · 3 评论 -
Python statement
Statements: assignment local assignment expressions return Compound statements One clause: <header>: <statement> <statement> ... A compound statement consist...原创 2018-02-08 17:41:00 · 341 阅读 · 0 评论