true-detective-progbasic-python-codecool

时间:2021-03-21 18:03:56
【文件属性】:
文件名称:true-detective-progbasic-python-codecool
文件大小:141KB
文件格式:ZIP
更新时间:2021-03-21 18:03:56
HTML 真正的侦探 故事 真正的侦探热爱真理,日夜寻求真理。他不断问:“这是真的吗??”关于一切,甚至是世界上最*的方面。 唯一使他高兴的是,他能以一种单一,清晰的表达方式掌握被审案件的真实价值。例如,可以用表达式has_been_crowned and not is_male来回答某人是否是女王。 他的助手Whatif博士非常欣赏这种能力,并且总是尝试重现他朋友的成果。不幸的是,他缺乏True Detective的逻辑技巧:他只能在一系列简单的条件中思考(如果有的话),并且他不知道逻辑运算符或任何其他更高层次的构造。尽管如此,即使是一种更加round回的时尚,他也总是能够再现真实侦探的结果。例如,上面的女王问题Whatif博士将这样写: if is_male : return False else : if has_been_crowned : return
【文件预览】:
true-detective-progbasic-python-codecool-master
----truedetective.py(3KB)
----test_truedetective.py(3KB)
----test_whatif.py(3KB)
----.vscode()
--------settings.json(189B)
----README.md(6KB)
----__pycache__()
--------truedetective.cpython-38.pyc(1KB)
--------test_whatif.cpython-38-pytest-6.1.2.pyc(14KB)
--------test_truedetective.cpython-38-pytest-6.1.2.pyc(14KB)
--------whatif.cpython-38.pyc(2KB)
----task()
--------whatif (refencja mentora).py(2KB)
--------New Journey.html(414KB)
--------truedetective (refencja mentora).py(1KB)
--------what-is-a-decision-tree-7.png(37KB)
----whatif.py(4KB)

网友评论