Classroom-tested by tens of thousands of students, this new edition of the bestselling intro to programming book is for anyone who wants to understand computer science. Learn about design, algorithms, testing, and debugging. Discover the fundamentals of programming with Python 3.6--a language that's used in millions of devices. Write programs to solve real-world problems, and come away with everything you need to produce quality code. This edition has been updated to use the new language features in Python 3.6.
No programming experience required! Incremental examples show you the steps and missteps that happen while developing programs, so you know what to expect when you tackle a problem on your own. Inspired by "How to Design Programs" (HtDP), discover a five-step recipe for designing functions, which helps you learn the concepts--and becomes an integral part of writing programs.
In this detailed introduction to Python and to computer programming, find out exactly what happens when your programs are executed. Work with numbers, text, big data sets, and files using real-world examples. Create and use your own data types. Make your programs reliable, work with databases, download data from the web automatically, and build user interfaces. As you use the fundamental programming tools in this book, you'll see how to document and organize your code so that you and other programmers can more easily read and understand it. This new edition takes advantage of Python 3.6's new features, including type annotations on parameters, return types and variable declarations, and changes to string formatting.
Most importantly, you'll learn how to think like a professional programmer.
What You Need:
You'll need to download Python 3.6, available from https://python.org.With that download comes IDLE, the editor we use for writing andrunning Python programs. (If you use Linux, you may need to installPython 3.6 and IDLE separately.)
The first few chapters are great but then around the halfway point, you get to more beefy code snippets and topics, and the examples just breeze by. You go from writing 10 lines of code to 30 and the explanations just stop. So I gave up halfway and will probably revisit some of the topics or just get a better book to look over the missing stuff. Also, why do math textbooks have 100 practice problems and computer science books have 10 practice problems? Its probably cause this book is used for a course at UofT but that doesn't make it useful for people not in the course and just want to get it for fun. Sigh.
Un libro introductorio a la computación y al lenguaje python. Sencillo, directo, básico. Cubre casi todos los temas básicos que debe cubrir un libro de este tipo: tipos de datos, control de flujo, componentes, clases. Ni cubre aspectos más avanzados como aplicaciones web, web services, frameworks, etc. El capítulo de base de datos se basa en saliste y es extremadamente básico.
It is a great book for people who want to dive into world of programming. Python language is programming language is fast to learn and easy to use for many applications. The book covers a lot of subjects in a comprehencive manner.