Python data structures : pocket primer / Oswald Campesato.

Author
Campesato, Oswald [Browse]
Format
Book
Language
English
Published/​Created
Dulles, Virginia : Mercury Learning and Information, [2023]
Description
1 online resource

Details

Subject(s)
Series
Pocket primer [More in this series]
Notes
Includes index.
Reproduction note
Electronic reproduction. Berlin Available via World Wide Web.
Source of description
Description based on online resource; title from digital title page (viewed on October 05, 2023).
Contents
  • Cover
  • Title Page
  • Copyright
  • Dedication
  • Contents
  • Preface
  • Chapter 1: Introduction to Python
  • Some Standard Modules in Python
  • Simple Data Types in Python
  • Working With Numbers
  • Working With Other Bases
  • The chr() Function
  • The round() Function in Python
  • Unicode and UTF-8
  • Working With Unicode
  • Working With Strings
  • Comparing Strings
  • Uninitialized Variables and the Value None in Python
  • Slicing and Splicing Strings
  • Testing for Digits and Alphabetic Characters
  • Search and Replace a String in Other Strings
  • Precedence of Operators in Python
  • Python Reserved Words
  • Working With Loops in Python
  • Python for Loops
  • Numeric Exponents in Python
  • Nested Loops
  • The split() Function With for Loops
  • Using the split() Function to Compare Words
  • Python while Loops
  • Conditional Logic in Python
  • The break/continue/pass Statements
  • Comparison and Boolean Operators
  • The in/not in/is/is not Comparison Operators
  • The and, or, and not Boolean Operators
  • Local and Global Variables
  • Scope of Variables
  • Pass by Reference Versus Value
  • Arguments and Parameters
  • User-Defined Functions in Python
  • Specifying Default Values in a Function
  • Returning Multiple Values From a Function
  • Lambda Expressions
  • Working With Lists
  • Lists and Basic Operations
  • Lists and Arithmetic Operations
  • Lists and Filter-Related Operations
  • The join(), range(), and split() Functions
  • Arrays and the append() Function
  • Other List-Related Functions
  • Working With List Comprehensions
  • Working With Vectors
  • Working With Matrices
  • Queues
  • Tuples (Immutable Lists)
  • Sets
  • Dictionaries
  • Creating a Dictionary
  • Displaying the Contents of a Dictionary
  • Checking for Keys in a Dictionary
  • Deleting Keys From a Dictionary
  • Iterating Through a Dictionary
  • Interpolating Data From a Dictionary
  • Dictionary Functions and Methods
  • Other Sequence Types in Python
  • Mutable and Immutable Types in Python
  • Summary
  • Chapter 2: Recursion and Combinatorics
  • What Is Recursion?
  • Arithmetic Series
  • Calculating Arithmetic Series (Iterative)
  • Calculating Arithmetic Series (Recursive)
  • Calculating Partial Arithmetic Series
  • Geometric Series
  • Calculating a Geometric Series (Iterative)
  • Factorial Values
  • Calculating Factorial Values (Iterative)
  • Calculating Factorial Values (Recursive)
  • Calculating Factorial Values (Tail Recursion)
  • Fibonacci Numbers
  • Calculating Fibonacci Numbers (Recursive)
  • Calculating Fibonacci Numbers (Iterative)
  • Task: Reverse a String via Recursion
  • Task: Check for Balanced Parentheses
  • Task: Calculate the Number of Digits
  • Task: Determine if a Positive Integer Is Prime
  • Task: Find the Prime Factorization of a Positive Integer
  • Task: Goldbach's Conjecture
  • Task: Calculate the GCD (Greatest Common Divisor)
  • Task: Calculate the LCM (Lowest Common Multiple)
ISBN
  • 9781683927563 (electronic book)
  • 1683927567 (electronic book)
OCLC
1355218330
Statement on responsible collection description
Princeton University Library aims to describe library materials in a manner that is respectful to the individuals and communities who create, use, and are represented in the collections we manage. Read more...
Other views
Staff view

Supplementary Information