دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش: 2
نویسندگان: Ben Stephenson
سری:
ISBN (شابک) : 3030188728, 9783030188726
ناشر: Springer-Nature New York Inc
سال نشر: 2019
تعداد صفحات: 218
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 10 مگابایت
در صورت تبدیل فایل کتاب The Python Workbook: A Brief Introduction with Exercises and Solutions به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب کتاب کار پایتون: معرفی مختصر با تمرینات و راه حل ها نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
این کتاب درسی مناسب برای دانشآموز، توسعه مهارتهای برنامهنویسی را از طریق تمرین فعال با تمرکز بر تمرینهایی که از یادگیری عملی پشتیبانی میکنند، تشویق میکند. انواع رشته های دانشگاهی و موقعیت های روزمره. راهحلهایی برای تمرینهای انتخابی نیز ارائه شده است که با حاشیهنویسی مختصری پشتیبانی میشود که تکنیک مورد استفاده برای حل مشکل را توضیح میدهد، یا یک نقطه خاص از نحو پایتون را برجسته میکند.
این نسخه جدید پیشرفته بهطور کامل بهروزرسانی شده و با موارد
اضافی گسترش یافته است. تمرین ها، همراه با مقدمه های مختصر که
مفاهیم اصلی مورد نیاز برای حل آنها را بیان می کند. تمرینها و
راهحلها نیازی به دانش پیشزمینه قبلی ندارند، فراتر از
مطالبی که در یک دوره معمولی برنامهنویسی مقدماتی پایتون پوشش
داده شده است.
ویژگیها: از سبک نوشتاری در دسترس و آسان استفاده میکند. - دنبال کردن ساختار شامل ترکیبی از تمرینهای کلاسیک از رشتههای علوم کامپیوتر و ریاضیات، به همراه تمرینهایی که به سایر رشتههای دانشگاهی متصل میشوند. تقریباً برای نیمی از تمرینات راه حل ارائه می دهد. حاشیهنویسیهایی را در کنار راهحلها ارائه میکند که رویکرد اتخاذ شده برای حل مشکل و جنبههای مربوط به نحو پایتون را توضیح میدهد. انواع تمرینات با طول ها و مشکلات مختلف را ارائه می دهد. شامل تمرین هایی است که توسعه مهارت های برنامه نویسی را با استفاده از دستورات if، حلقه ها، توابع پایه، لیست ها، فرهنگ لغت، فایل ها و توابع بازگشتی تشویق می کند.
کارشناسی. دانش آموزانی که در اولین دوره برنامه نویسی خود ثبت نام کرده اند و می خواهند توانایی های برنامه نویسی خود را افزایش دهند، تمرین ها و راه حل های ارائه شده در این کتاب را برای نیازهای خود ایده آل خواهند یافت.
This student-friendly textbook encourages the development of programming skills through active practice by focusing on exercises that support hands-on learning. The Python Workbook provides a compendium of 186 exercises, spanning a variety of academic disciplines and everyday situations. Solutions to selected exercises are also provided, supported by brief annotations that explain the technique used to solve the problem, or highlight a specific point of Python syntax.
This enhanced new edition has been thoroughly updated and
expanded with additional exercises, along with concise
introductions that outline the core concepts needed to solve
them. The exercises and solutions require no prior background
knowledge, beyond the material covered in a typical
introductory Python programming course.
Features: uses an accessible writing style and easy-to-follow structure; includes a mixture of classic exercises from the fields of computer science and mathematics, along with exercises that connect to other academic disciplines; presents the solutions to approximately half of the exercises; provides annotations alongside the solutions, which explain the approach taken to solve the problem and relevant aspects of Python syntax; offers a variety of exercises of different lengths and difficulties; contains exercises that encourage the development of programming skills using if statements, loops, basic functions, lists, dictionaries, files, and recursive functions.
Undergraduate students enrolled in their first programming course and wishing to enhance their programming abilities will find the exercises and solutions provided in this book to be ideal for their needs.
Preface Acknowledgements Contents Part I Exercises 1 Introduction to Programming 1.1 Storing and Manipulating Values 1.2 Calling Functions 1.2.1 Reading Input 1.2.2 Displaying Output 1.2.3 Importing Additional Functions 1.3 Comments 1.4 Formatting Values 1.5 Working with Strings 1.6 Exercises Exercise 1: Mailing Address Exercise 2: Hello Exercise 3: Area of a Room Exercise 4: Area of a Field Exercise 5: Bottle Deposits Exercise 6: Tax and Tip Exercise 7: Sum of the First n Positive Integers Exercise 8: Widgets and Gizmos Exercise 9: Compound Interest Exercise 10: Arithmetic Exercise 11: Fuel Efficiency Exercise 12: Distance Between Two Points on Earth Exercise 13: Making Change Exercise 14: Height Units Exercise 15: Distance Units Exercise 16: Area and Volume Exercise 17: Heat Capacity Exercise 18: Volume of a Cylinder Exercise 19: Free Fall Exercise 20: Ideal Gas Law Exercise 21: Area of a Triangle Exercise 22: Area of a Triangle (Again) Exercise 23: Area of a Regular Polygon Exercise 24: Units of Time Exercise 25: Units of Time (Again) Exercise 26: Current Time Exercise 27: When is Easter? Exercise 28: Body Mass Index Exercise 29: Wind Chill Exercise 30: Celsius to Fahrenheit and Kelvin Exercise 31: Units of Pressure Exercise 32: Sum of the Digits in an Integer Exercise 33: Sort 3 Integers Exercise 34: Day Old Bread 2 Decision Making 2.1 If Statements 2.2 If-Else Statements 2.3 If-Elif-Else Statements 2.4 If-Elif Statements 2.5 Nested If Statements 2.6 Boolean Logic 2.7 Exercises Exercise 35: Even or Odd? Exercise 36: Dog Years Exercise 37: Vowel or Consonant Exercise 38: Name That Shape Exercise 39: Month Name to Number of Days Exercise 40: Sound Levels Exercise 41: Classifying Triangles Exercise 42: Note to Frequency Exercise 43: Frequency to Note Exercise 44: Faces on Money Exercise 45: Date to Holiday Name Exercise 46: What Color Is That Square? Exercise 47: Season from Month and Day Exercise 48: Birth Date to Astrological Sign Exercise 49: Chinese Zodiac Exercise 50: Richter Scale Exercise 51: Roots of a Quadratic Function Exercise 52: Letter Grade to Grade Points Exercise 53: Grade Points to Letter Grade Exercise 54: Assessing Employees Exercise 55: Wavelengths of Visible Light Exercise 56: Frequency to Name Exercise 57: Cell Phone Bill Exercise 58: Is It a Leap Year? Exercise 59: Next Day Exercise 60: What Day of the Week Is January 1? Exercise 61: Is a License Plate Valid? Exercise 62: Roulette Payouts 3 Repetition 3.1 While Loops 3.2 For Loops 3.3 Nested Loops 3.4 Exercises Exercise 63: Average Exercise 64: Discount Table Exercise 65: Temperature Conversion Table Exercise 66: No More Pennies Exercise 67: Compute the Perimeter of a Polygon Exercise 68: Compute a Grade Point Average Exercise 69: Admission Price Exercise 70: Parity Bits Exercise 71: Approximate π Exercise 72: Fizz-Buzz Exercise 73: Caesar Cipher Exercise 74: Square Root Exercise 75: Is a String a Palindrome? Exercise 76: Multiple Word Palindromes Exercise 77: Multiplication Table Exercise 78: The Collatz Conjecture Exercise 79: Greatest Common Divisor Exercise 80: Prime Factors Exercise 81: Binary to Decimal Exercise 82: Decimal to Binary Exercise 83: Maximum Integer Exercise 84: Coin Flip Simulation 4 Functions 4.1 Functions with Parameters 4.2 Variables in Functions 4.3 Return Values 4.4 Importing Functions into Other Programs 4.5 Exercises Exercise 85: Compute the Hypotenuse Exercise 86: Taxi Fare Exercise 87: Shipping Calculator Exercise 88: Median of Three Values Exercise 89: Convert an Integer to Its Ordinal Number Exercise 90: The Twelve Days of Christmas Exercise 91: Gregorian Date to Ordinal Date Exercise 92: Ordinal Date to Gregorian Date Exercise 93: Center a String in the Terminal Window Exercise 94: Is It a Valid Triangle? Exercise 95: Capitalize It Exercise 96: Does a String Represent an Integer? Exercise 97: Operator Precedence Exercise 98: Is a Number Prime? Exercise 99: Next Prime Exercise 100: Random Password Exercise 101: Random License Plate Exercise 102: Check a Password Exercise 103: Random Good Password Exercise 104: Hexadecimal and Decimal Digits Exercise 105: Arbitrary Base Conversions Exercise 106: Days in a Month Exercise 107: Reduce a Fraction to Lowest Terms Exercise 108: Reduce Measures Exercise 109: Magic Dates 5 Lists 5.1 Accessing Individual Elements 5.2 Loops and Lists 5.3 Additional List Operations 5.3.1 Adding Elements to a List 5.3.2 Removing Elements from a List 5.3.3 Rearranging the Elements in a List 5.3.4 Searching a List 5.4 Lists as Return Values and Arguments 5.5 Exercises Exercise 110: Sorted Order Exercise 111: Reverse Order Exercise 112: Remove Outliers Exercise 113: Avoiding Duplicates Exercise 114: Negatives, Zeros and Positives Exercise 115: List of Proper Divisors Exercise 116: Perfect Numbers Exercise 117: Only the Words Exercise 118: Word by Word Palindromes Exercise 119: Below and Above Average Exercise 120: Formatting a List Exercise 121: Random Lottery Numbers Exercise 122: Pig Latin Exercise 123: Pig Latin Improved Exercise 124: Line of Best Fit Exercise 125: Shuffling a Deck of Cards Exercise 126: Dealing Hands of Cards Exercise 127: Is a List already in Sorted Order? Exercise 128: Count the Elements Exercise 129: Tokenizing a String Exercise 130: Unary and Binary Operators Exercise 131: Infix to Postfix Exercise 132: Evaluate Postfix Exercise 133: Does a List Contain a Sublist? Exercise 134: Generate All Sublists of a List Exercise 135: The Sieve of Eratosthenes 6 Dictionaries 6.1 Accessing, Modifying and Adding Values 6.2 Removing a Key-Value Pair 6.3 Additional Dictionary Operations 6.4 Loops and Dictionaries 6.5 Dictionaries as Arguments and Return Values 6.6 Exercises Exercise 136: Reverse Lookup Exercise 137: Two Dice Simulation Exercise 138: Text Messaging Exercise 139: Morse Code Exercise 140: Postal Codes Exercise 141: Write out Numbers in English Exercise 142: Unique Characters Exercise 143: Anagrams Exercise 144: Anagrams Again Exercise 145: Scrabble™ Score Exercise 146: Create a Bingo Card Exercise 147: Checking for a Winning Card Exercise 148: Play Bingo 7 Files and Exceptions 7.1 Opening a File 7.2 Reading Input from a File 7.3 End of Line Characters 7.4 Writing Output to a File 7.5 Command Line Arguments 7.6 Exceptions 7.7 Exercises Exercise 149: Display the Head of a File Exercise 150: Display the Tail of a File Exercise 151: Concatenate Multiple Files Exercise 152: Number the Lines in a File Exercise 153: Find the Longest Word in a File Exercise 154: Letter Frequencies Exercise 155: Words that Occur Most Exercise 156: Sum a Collection of Numbers Exercise 157: Both Letter Grades and Grade Points Exercise 158: Remove Comments Exercise 159: Two Word Random Password Exercise 160: Weird Words Exercise 161: What's that Element Again? Exercise 162: A Book with No E... Exercise 163: Names that Reached Number One Exercise 164: Gender Neutral Names Exercise 165: Most Births in a given Time Period Exercise 166: Distinct Names Exercise 167: Spell Checker Exercise 168: Repeated Words Exercise 169: Redacting Text in a File Exercise 170: Missing Comments Exercise 171: Consistent Line Lengths Exercise 172: Words with Six Vowels in Order 8 Recursion 8.1 Summing Integers 8.2 Fibonacci Numbers 8.3 Counting Characters 8.4 Exercises Exercise 173: Total the Values Exercise 174: Greatest Common Divisor Exercise 175: Recursive Decimal to Binary Exercise 176: The NATO Phonetic Alphabet Exercise 177: Roman Numerals Exercise 178: Recursive Palindrome Exercise 179: Recursive Square Root Exercise 180: String Edit Distance Exercise 181: Possible Change Exercise 182: Spelling with Element Symbols Exercise 183: Element Sequences Exercise 184: Flatten a List Exercise 185: Run-Length Decoding Exercise 186: Run-Length Encoding Part II Solutions 9 Solutions to the Introduction to Programming Exercises 10 Solutions to the Decision Making Exercises 11 Solutions to the Repetition Exercises 12 Solutions to the Function Exercises 13 Solutions to the List Exercises 14 Solutions to the Dictionary Exercises 15 Solutions to the File and Exception Exercises 16 Solutions to the Recursion Exercises Index Index