通过这本有趣的学习指南,增加您对Python的了解,其中包括100个练习、编程难题和解决方案。Python挑战将帮助您为下一次考试或工作面试做好准备,并涵盖大量实用主题,如字符串、数据结构、递归、数组等。
每一个主题都会在单独的章节中进行讨论,首先介绍基础知识,然后进行10到15个不同难度的练习,帮助您有效地提高编程技能。详细的示例解决方案,包括用于所有任务的算法,旨在最大限度地提高您对每个领域的理解。作者Michael Inden还介绍了替代解决方案,并分析了可能的陷阱和典型错误。
这本书有三个附录:第一个是Python命令行解释器,它通常有助于尝试书中的代码片段和示例,接下来是Pytest的概述,用于单元测试和检查解决方案。最后一部分解释了评估性能的O符号。
读完这本书后,你将准备好在你的职业生涯中迈出下一步,或者处理你的下一个个人项目。所有源代码都可以通过Apress网站免费下载。
你将学到什么
通过解决有趣但具有挑战性的编程难题来提高Python知识
解决数学问题、递归、字符串、数组等
管理数据处理和数据结构,如列表、集合、地图
处理高级递归以及二叉树、排序和搜索
游戏化关键基础,带来乐趣,更容易强化
这本书是给谁的
程序员、专业或制造商的软件开发人员,以及学生和教师。建议至少有一些Python编程的经验。
Python Challenges: 100 Proven Programming Tasks Designed to Prepare You for Anything True (PDF,EPUB)
Augment your knowledge of Python with this entertaining learning guide, which features 100 exercises and programming puzzles and solutions. Python Challenges will help prepare you for your next exam or a job interview, and covers numerous practical topics such as strings, data structures, recursion, arrays, and more.
Each topic is addressed in its own separate chapter, starting with an introduction to the basics and followed by 10 to 15 exercises of various degrees of difficulty, helping you to improve your programming skills effectively. Detailed sample solutions, including the algorithms used for all tasks, are included to maximize your understanding of each area. Author Michael Inden also describes alternative solutions and analyzes possible pitfalls and typical errors.
Three appendices round out the book: the first covers the Python command line interpreter, which is often helpful for trying out the code snippets and examples in the book, followed by an overview of Pytest for unit testing and checking the solutions. The last explains the O notation for estimating performance.
After reading this book, you’ll be prepared to take the next step in your career or tackle your next personal project. All source code is freely available for download via the Apress website.
What You Will Learn
Improve your Python knowledge by solving enjoyable but challenging programming puzzles
Solve mathematical problems, recursions, strings, arrays and more
Manage data processing and data structures like lists, sets, maps
Handle advanced recursion as well as binary trees, sorting and searching
Gamify key fundamentals for fun and easier reinforcement
Who this book is for
Programmers, software developers who are either professionals or makers, as well as students and teachers. At least some prior experience with the Python programming is recommended.
OR