Intergalactic Python: Coding Through the Cosmos

Intergalactic Python: Coding Through the Cosmos

Andrew Kean Gao
Buy on Leanpub

Table of Contents

Intergalactic Python: Coding Through the Cosmos

  • Chapter 0: Preface
  • Chapter 1: Launching Your Python Journey
    • Why Learn Python?
    • Setting up your programming environment with Google Colab
    • Writing your first Python program
  • Chapter 2: Your First Python Mission: The Spacecraft (Variables and Types)
    • What are Variables?
    • Different Types of Data
    • Naming Variables
    • Project: Designing Your Spacecraft
    • Wrapping Up
  • Chapter 3: Packing for Space: Organizing Your Inventory (Lists and Tuples)
    • Lists: Your Spacecraft’s Storage
    • Tuples: Your Spacecraft’s Specifications
    • Project: Packing for Your Journey
  • Chapter 4: Communicating with the Command Center (Print Statements and User Input)
    • Print Statements: Reporting Back to Command Center
    • User Input: Receiving Instructions from Command Center
    • Project: A Conversation with the Command Center
  • Chapter 5: Plotting Your Course (Operators and Comparisons)
    • Calculating the Route (Arithmetic Operators)
    • Making Decisions (Comparison Operators)
    • Plotting the Course (Assignment Operators)
    • Project: Course Calculation System
  • Chapter 6: Alien Encounters (If, Elif, Else Statements)
    • Making Decisions (If Statements)
    • Choosing Between Alternatives (Elif and Else Statements)
    • Project: Alien Encounter System
  • Chapter 7: Navigating Through Space (For and While Loops)
    • The For Loop
    • The While Loop
    • Break, Continue, and Pass
    • Project: Space Navigation System
  • Chapter 8: Stellar Strings
    • Introduction to Strings
    • String Concatenation
    • String Slicing and Indexing
    • String Methods
    • Project: Star Catalog
  • Chapter 9: Space Dictionaries (Dictionaries)
    • Introduction to Dictionaries
    • Adding and Modifying Dictionary Entries
    • Removing Entries from a Dictionary
    • Dictionary Methods
    • Project: Alien Species Log
  • Chapter 10: Living in Space (Functions)
    • Understanding Functions
    • Defining Functions
    • Function Parameters and Arguments
    • Return Statements
    • Local and Global Variables
    • Project: Daily Routine Automation
  • Chapter 11: Exploring New Planets (Modules and Libraries)
    • What are Modules and Libraries in Python?
    • Importing Libraries
    • Exploring Common Python Libraries
    • Project: Planet Analysis
  • Chapter 12: Final Mission: Planet Colonization (Project)
    • Planning the Project
  • Chapter 13: The Journey Continues
    • Review of Our Journey
    • The Universe Beyond
    • Final Thoughts
  • Appendix: Python Vocabulary
Intergalactic Python: Coding Through the Cosmos/overview

Intergalactic Python: Coding Through the Cosmos

course_overview

Learn Python coding from scratch with a fun space theme.

count_chapters
begin_reading
download
p_implied_book_part_name

Intergalactic Python: Coding Through the Cosmos15 chapters

Begin ›
  1. Chapter 0: Preface

  2. Chapter 1: Launching Your Python Journey

  3. Chapter 2: Your First Python Mission: The Spacecraft (Variables and Types)

  4. Chapter 3: Packing for Space: Organizing Your Inventory (Lists and Tuples)

  5. Chapter 4: Communicating with the Command Center (Print Statements and User Input)

  6. Chapter 5: Plotting Your Course (Operators and Comparisons)

  7. Chapter 6: Alien Encounters (If, Elif, Else Statements)

  8. Chapter 7: Navigating Through Space (For and While Loops)

  9. Chapter 8: Stellar Strings

  10. Chapter 9: Space Dictionaries (Dictionaries)

  11. Chapter 10: Living in Space (Functions)

  12. Chapter 11: Exploring New Planets (Modules and Libraries)

  13. Chapter 12: Final Mission: Planet Colonization (Project)

  14. Chapter 13: The Journey Continues

  15. Appendix: Python Vocabulary