Automate the boring stuff with Python : practical programming for total beginners
1 online resource (1 volume) : Basic programming skills for total beginners Print version record Includes index Place of publication taken from publisher's Web site About the Author ; Brief Contents ; Contents in Detail ; Acknowledgments ; Introduction; Whom Is This Book For?; Conventions; What Is Programming?; What Is Python?; Programmers Don't Need to Know Much Math; Programming Is a Creative Activity; About This Book; Downloading and Installing Python; Starting IDLE; The Interactive Shell; How to Find Help; Asking Smart Programming Questions; Summary; Part I: Python Programming Basics; Chapter 1: Python Basics; Entering Expressions into the Interactive Shell; The Integer, Floating-Point, and String Data Types; String Concatenation and Replication Storing Values in VariablesAssignment Statements; Variable Names; Your First Program; Dissecting Your Program; Comments; The print() Function; The input() Function; Printing the User's Name; The len() Function; The str(), int(), and float() Functions; Summary; Practice Questions; Chapter 2: Flow Control; Boolean Values; Comparison Operators; Boolean Operators; Binary Boolean Operators; The not Operator; Mixing Boolean and Comparison Operators; Elements of Flow Control; Conditions; Blocks of Code; Program Execution; Flow Control Statements; if Statements; else Statements; elif Statements While Loop Statementsbreak Statements; continue Statements; for Loops and the range() Function; Importing Modules; from import Statements; Ending a Program Early with sys.exit(); Summary; Practice Questions; Chapter 3: Functions; def Statements with Parameters; Return Values and return Statements; The None Value; Keyword Arguments and print(); Local and Global Scope; Local Variables Cannot Be Used in the Global Scope; Local Scopes Cannot Use Variables in Other Local Scopes; Global Variables Can Be Read from a Local Scope; Local and Global Variables with the Same Name; The global Statement Exception HandlingA Short Program: Guess the Number; Summary; Practice Questions; Practice Projects; The Collatz Sequence; Input Validation; Chapter 4: Lists; The List Data Type; Getting Individual Values in a List with Indexes; Negative Indexes; Getting Sublists with Slices; Getting a List's Length with len(); Changing Values in a List with Indexes; List Concatenation and List Replication; Removing Values from Lists with del Statements; Working with Lists; Using for Loops with Lists; The in and not in Operators; The Multiple Assignment Trick; Augmented Assignment Operators; Methods Finding a Value in a List with the index() MethodAdding Values to Lists with the append() and insert() Methods; Removing Values from Lists with remove() ; Sorting the Values in a List with the sort() Method; Example Program: Magic 8 Ball with a List; List-like Types: Strings and Tuples; Mutable and Immutable Data Types; The Tuple Data Type; Converting Types with the list() and tuple() Functions; References; Passing References; The copy Module's copy() and deepcopy() Functions; Summary; Practice Questions; Practice Projects; Comma Code; Character Picture Grid
Basılı kopya
Diğer Kitaplar
طائرات وطيارون في سماء المعركة
اسم الكتاب: طائرات وطيارون في سماء المعركةاسم المؤلف: وضاح فؤاد كلاسعدد الصفحات: 160 صفحةالطبعة الأولى 1998منبذة:طائرات وطيارون في سماء المعركة... صفحات من تاريخ الحرب الجوية، سطرها رجال وافرو الشجاعة بعرقهم ودمائهم، ...
03 The New Testament in Urdu Hindustani (1878) Pakistan Central Asia India
New Testament in Urdu
This is the New Testament (Bible) in Urdu. Urdu is a language spoken by millions in Pakistan, India, Central Asia and around the world.
This is the third part of this New Testament, the standar...
Commodore 128 assembly language programming
Commodore 128 Assembly Language Programming Bibliography: p. 370 Includes index
The Day After Roswell Anthology; A Collective History Of A Great American-Philip Corso
Three related books plus an interview transcript."The extraterrestrial presence that has long been denied by public officials “in the loop,” has powerful political implications at all levels of human society." —Michae...
368 نظرات في شعر صدر الاسلام - د. سامي مكي العاني - سلسلة الموسوعة الصغيرة - 1992م
#كتب_نادرة#الموسوعة_الصغيرة رقم 368#شعر_عربي فصيح#دراسات#يرفع_لأول مرة على النتكتاب: نظرات في شعر صدر الاسلام تأليف: د. سامي مكي العاني (رحمه الله)نبذة: نظرة في بعض جوانب الشعر ومصادره في تلك الحقبة الزاهية والزاهرة م...
A.E.Housman
A.E.Housman — Carter,John., Sparrow,John.