python-koans-solutions:我对Python Koans的解决方案

时间:2021-02-15 00:29:43
【文件属性】:
文件名称:python-koans-solutions:我对Python Koans的解决方案
文件大小:78KB
文件格式:ZIP
更新时间:2021-02-15 00:29:43
Python python-koans-solutions 我对Python Koans的解决方案。 解决方案是使用Python 3完成的。可在找到原始。 Python Koans Python Koans是Edgecase的“ Ruby Koans”的移植,可以在上找到。 Python Koans是一个交互式教程,通过通过测试来学习Python编程语言。 大多数测试是通过填充断言函数的缺失部分来修复的。 例如: self.assertEqual(__,1 + 2) 可以通过使用适当的代码替换__部分来解决此问题: self.assertEqual(3,1 + 2) 有时您会遇到一些已经填写的失败测试。 在这些情况下,您将需要完成一些代码才能继续进行。 例如,有一个练习来编写一些代码,告诉您三角形是等边的,等腰的还是斜角的。 它不仅是学习Python的好方法,还是一种尝尝测试驱动开发
【文件预览】:
python-koans-solutions-master
----.travis.yml(894B)
----README.rst(7KB)
----Contributor Notes.txt(364B)
----.DS_Store(6KB)
----.gitignore(2KB)
----python3()
--------scent.py(281B)
--------contemplate_koans.py(1KB)
--------koans.txt(2KB)
--------runner()
--------run.sh(44B)
--------run.bat(816B)
--------example_file.txt(15B)
--------koans()
--------_runner_tests.py(984B)
--------libs()
----MIT-LICENSE(1KB)
----.gitattributes(66B)
----.hgignore(53B)

网友评论