Learn to Code by Solving Problems: A Python Programming Primer
暫譯: 透過解決問題學習編程:Python 程式設計入門
Daniel Zingaro
- 出版商: No Starch Press
- 出版日期: 2021-06-21
- 定價: $1,330
- 售價: 8.0 折 $1,064
- 語言: 英文
- 頁數: 336
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1718501323
- ISBN-13: 9781718501324
-
相關分類:
Python、程式語言
-
相關翻譯:
Python 程式設計與程式競賽解題技巧 (Learn to Code by Solving Problems: A Python Programming Primer) (繁中版)
Python編程做中學 (簡中版)
立即出貨 (庫存=1)
買這商品的人也買了...
商品描述
Learn to Code by Solving Problems is a practical introduction to programming using Python. It uses coding-competition challenges to teach you the mechanics of coding and how to think like a savvy programmer.
Computers are powerful problem-solving machines capable of doing almost anything, with the right instructions. That's where programming comes in, allowing us to communicate those instructions through a coding language like Python. This beginners book gets you writing programs right away, as you solve interesting problems drawn from real coding competitions while building Python skills.
Every chapter is driven by problems drawn directly from coding-challenge websites, where online judges test your solutions and provide targeted feedback. As you practice using core Pythonic features, functions, and techniques, you'll develop a clear understanding of data structures, algorithms, and other foundational aspects of programming useful in any language. Bonus exercises are also included so you can explore new concepts on your own, and multiple-choice questions throughout the text encourage you to critically consider the purpose of each piece of code.
You'll learn:
- Introductory ideas, like running Python code, working with strings, and using variables
- How to write programs that make decisions
- How to use while and for loops to repeatedly execute code
- How to use Python sets, lists, and dictionaries to organize, sort, and search data
- How to design programs using functions and top-down design
- How to use Python sets and dictionaries to organize, sort, and search data
- How to create complete-search algorithms, and use Big O notation to design more efficient code
By the end of the book, you'll not only become proficient in Python, but also learn the type of thinking required to solve problems with a computer. Because programming languages come and go; the way we solve problems does not.
商品描述(中文翻譯)
《透過解決問題學習程式設計》是一本使用 Python 的實用程式設計入門書籍。它利用程式競賽挑戰來教你程式編寫的基本原理,以及如何像一位精明的程式設計師一樣思考。
電腦是強大的問題解決機器,能夠在正確的指令下幾乎做任何事情。這就是程式設計的用武之地,它讓我們能夠通過像 Python 這樣的程式語言來傳達這些指令。這本初學者書籍讓你立即開始編寫程式,通過解決來自真實程式競賽的有趣問題來建立 Python 技能。
每一章都以直接來自程式挑戰網站的問題為驅動,這些網站的在線評審會測試你的解決方案並提供針對性的反饋。在你練習使用核心的 Python 特性、函數和技術時,你將對數據結構、算法以及其他在任何語言中都很有用的程式設計基礎方面有清晰的理解。書中還包含額外的練習題,讓你可以自行探索新概念,並且文本中的選擇題鼓勵你批判性地考慮每段程式碼的目的。
你將學到:
- 基本概念,如運行 Python 代碼、處理字串和使用變數
- 如何編寫做出決策的程式
- 如何使用 `while` 和 `for` 迴圈重複執行代碼
- 如何使用 Python 的集合、列表和字典來組織、排序和搜尋數據
- 如何使用函數和自上而下設計來設計程式
- 如何使用 Python 的集合和字典來組織、排序和搜尋數據
- 如何創建完整搜尋算法,並使用大 O 符號設計更高效的代碼
在書籍結束時,你不僅會精通 Python,還會學會用電腦解決問題所需的思維方式。因為程式語言會隨著時間而變化,但我們解決問題的方式不會改變。
作者簡介
Dr. Daniel Zingaro is an award-winning Associate Professor of Computer Science in the teaching stream at University of Toronto Mississauga, and is internationally recognized for his expertise in Active Learning. He is also the author of Algorithmic Thinking (No Starch Press, 2021).
作者簡介(中文翻譯)
丹尼爾·辛加羅博士是多倫多大學密西沙加校區的計算機科學教學流的獲獎副教授,因其在主動學習(Active Learning)方面的專業知識而享有國際聲譽。他也是《算法思維》(Algorithmic Thinking,No Starch Press,2021)的作者。