Learning Python: The Ultimate Guide for Beginners to Coding with Python with Useful Tools



Download 2,02 Mb.
Pdf ko'rish
bet126/126
Sana01.01.2022
Hajmi2,02 Mb.
#285662
1   ...   118   119   120   121   122   123   124   125   126
Bog'liq
Learning Python The Ultimate Guide for Beginners to Coding with

Document Outline

  • Introduction
    • Who Is This Book For?
    • Brief History of Python Language
    • Why Python
    • Features of Python Language
    • How Python Runs Program
    • Python Implementations
    • Installation and Configuration on a Different Operating System
      • Installing Python on the Mac Operating System
      • Window Installation
      • Linux and UNIX installation
  • Chapter 1: Basics in Python
    • Keywords
    • Indentation and Lines
      • Multiple Line Statements
    • Variables
      • Rules to Variable Naming
      • Avoiding Variable Name Errors
    • Data Types in Python
  • Chapter 2: List & Tuples in Python
    • Definition of List
      • Accessing a List Item
      • Index Positions
    • Adding, Changing, and Removing Elements in a List
      • Modifying Elements
      • Adding Elements
      • Append an Element to the List End
      • Inserting Elements
      • Removing Elements
      • Remove Items Using del Statement
      • Using the pop() Method to Remove an Item
      • How to Remove an Item Using Value
    • Organizing a List in Python
      • Using the sort() Method
      • List Length
      • Summary
    • Looping Through a Complete List
      • Looping in Python
      • More actions on a “for Loop”
      • Performing Actions After a for Loop
      • Dealing with Indentation Errors
      • Forgetting to Indent
    • Numerical Lists
      • range() Function
      • Making a List Using range() Function
      • Performing Statistics on Number List
      • List Comprehensions
    • Working with List Part
      • Slicing a List in Python
      • Using Loop in a Slice
    • Tuples
      • What is a Tuple?
      • Using loop in a Tuple
      • Writing Through a Tuple
    • Summary
  • Chapter 3: Dictionary
    • What is a Dictionary?
    • How to Access Values
    • Adding Key-Value Pairs
    • How to Modify Values
    • How to Remove key-value Pairs
    • Dictionary with Similar Objects
    • Looping Through Dictionaries
    • Looping Through Keys Only
    • Looping Through Values Only
    • Nesting Dictionary
    • How to Use a List Inside a Dictionary
    • Summary
  • Chapter 4: Conditional or Decision Statements
    • Introduction
    • Conditional Tests in Python
    • Checking Equality
    • Numerical Comparison in Python
    • Creating Multiple Conditions
      • Using “AND”
      • Using “OR”
      • Boolean Expressions in Python
    • If Statements
      • Simple if Statements
      • if-else Statements
      • The if-elif-else Chain
  • Chapter 5: User’s Input and Loop
    • Using the input() Function
      • Compare the Two Programs Below
      • Multi-Line String When Using input() Function
      • Accepting Numerical Input in Python
      • Modulo Operator
    • Closing and Opening Files
      • Open Function
    • Introduction to While Loops
      • Using While Loop
      • Giving the Users a Choice
      • Flag in a Program
      • Exiting a Loop
      • Using “continue” in a Loop
      • Avoiding Endless Loop
      • Using While Loop Condition with Dictionaries and Lists
      • How to Move Items from a List to Another
      • How to Remove Instances of Particular Values from a List
      • Using User Input to Fill a Dictionary
    • Summary
  • Chapter 6: Functions
    • Defining a Function
    • How to Pass Information to a Function
    • Arguments and Parameters
    • How to Pass an Argument in Python
      • Positional Arguments
      • Calling Multiple Functions
      • Keyword Arguments
      • Default Value
  • Chapter 7: Classes in Python
    • Creating a Class
      • Example – Creating the Cat Class
      • __int__() Method
    • Key Terms
  • Conclusion
  • String
    • Using Quotes Inside Strings
    • Using Methods to Change Case in String
    • Using Variables in Strings
    • Comments
    • How to Avoid Syntax Errors When Using Strings
  • Operators in Python
    • Arithmetic Operators
    • Comparison Operators
    • Assignment Operators
    • Logical Operators
    • Membership Operators
    • Summary
    • Sample Program to Illustrate Operators in Python
  • Numbers in Python
    • Integers
    • Summary of Number Data Types
    • Floating-Point Numbers
    • Complex Numbers
    • Chapter Review

Download 2,02 Mb.

Do'stlaringiz bilan baham:
1   ...   118   119   120   121   122   123   124   125   126




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish