Jak myśleć jak informatyk¶
Jeffrey Elkner, Allen B. Downey, Chris Meyers
Wydanie interaktywne: Bradley N. Miller, David L. Ranum
Tłumaczenie: Witold Ilewicz, Michał Lewecki, Łukasz Machura
Wstęp¶
Podstawy Python¶
Debugging Interlude 1¶
Grafika żółwia w Pythonie¶
Moduły w Pythonie¶
Funkcje¶
Selection¶
More About Iteration¶
Strings¶
- Strings Revisited
- A Collection Data Type
- Operations on Strings
- Index Operator: Working with the Characters of a String
- String Methods
- Length
- The Slice Operator
- String Comparison
- Strings are Immutable
- Traversal and the for Loop: By Item
- Traversal and the for Loop: By Index
- Traversal and the while Loop
- The in and not in operators
- The Accumulator Pattern with Strings
- Turtles and Strings and L-Systems
- Looping and Counting
- A find function
- Optional parameters
- Character classification
- Summary
- Glossary
- Exercises
Lists¶
- Lists
- List Values
- List Length
- Accessing Elements
- List Membership
- Concatenation and Repetition
- List Slices
- Lists are Mutable
- List Deletion
- Objects and References
- Aliasing
- Cloning Lists
- Repetition and References
- List Methods
- The Return of L-Systems
- Append versus Concatenate
- Lists and for loops
- Using Lists as Parameters
- Pure Functions
- Which is Better?
- Functions that Produce Lists
- List Comprehensions
- Nested Lists
- Strings and Lists
- list Type Conversion Function
- Tuples and Mutability
- Tuple Assignment
- Tuples as Return Values
- Glossary
- Exercises
Files¶
Dictionaries¶
Recursion¶
Klasy i obiekty - wprowadzenie¶
Classes and Objects - Digging a Little Deeper¶
Ćwiczenia praktyczne¶
Acknowledgements¶
- Copyright Notice
- Preface to the Interactive Edition
- Whats the deal with Logging in?
- How to Contribute
- Acknowledgements
- Foreword
- Preface to the Third Edition
- The Rhodes Local Edition (RLE)
- Preface to the First and Second Editions
- Contributor List
- GNU Free Documentation License
- ADDENDUM: How to use this License for your documents
Informacje o wydaniach¶
How to Think Like a Computer Scientist: Learning with Python
Copyright © 2002 Allen B. Downey, Jeffrey Elkner, Chris Meyers
Wydanie 1, Green Tea Press, ISBN 0971677506
How to Think Like a Computer Scientist: Interactive Edition
Copyright © 2014 Brad Miller, David Ranum
Opracowanie w ramach projektu Runestone Interactive realizowanego w Luther College.
Jak myśleć jak informatyk
Copyright © 2015 Witold Ilewicz, Michał Lewecki, Łukasz Machura
Opracowanie w ramach projektu PWP Partnerstwo - Informatyka - Nanofizyka - PIN współfinansowanego przez Unię Europejską w ramach Europejskiego Funduszu Społecznego.
Książka wydana na licencji GNU Free Documentation License.