This is my repo following the book "Python Workout: 50 Ten-minute Exercises" by Reuven M. Lerner
Synopsis taken from the book: "This book isn’t meant to teach you Python. Rather, it’s meant to give you the practice you need to achieve greater fluency. After going through the exercises in this book — not just skimming through the questions and peeking at the answers — you will write more readable, more idiomatic, and more maintainable Python code."
- Exercise 1: Number guessing game - 4 exercises
- Exercise 2: Summing numbers - 4 exercises
- Exercise 3: Run timing - 3 exercises
- Exercise 4: Hexadecimal output - 2 exercises
- Exercise 5: Pig Latin - 3 exercises
- Exercise 6: Pig Latin sentence - 5 exercises
- Exercise 7: Ubbi Dubbi - 5 exercises
- Exercise 8: Sorting a string - 4 exercises
- Exercise 9: First-last - 7 exercises
- Exercise 10: Summing anything - 6 exercises
- Exercise 11: Alphabetizing-names - 6 exercises
- Exercise 12: Word with most repeated letters - 4 exercises
- Exercise 13: Printing-tuple-records - 4 exercises
- Exercise 14: Restaurant - 4 exercises
- Exercise 15: Rainfall - 5 exercises
- Exercise 16: Dictdiff - 5 exercises
- Exercise 17: How many different numbers - 4 exercises
- Exercise 18: Final line - 8 exercises
- Exercise 19: etc-passwd-to-dict - 2 exercises
- Exercise 20: Word count - 5 exercises
- Exercise 21: Longest word per file - 3 exercises
- Exercise 22: Reading and writing CSV - 4 exercises
- Exercise 23: JSON - 4 exercises
- Exercise 24: Reverse lines - 4 exercises
- Exercise 25: XML-generator - 6 exercises
- Exercise 26: Prefix-notation calculator - 6 exercises
- Exercise 27: Password generator - 4 exercises
- Exercise 28: Join numbers - 4 exercises
- Exercise 29: Add numbers - 3 exercises
- Exercise 30: Flatten a list - 4 exercises
- Exercise 31: Pig Latin translation of a file - 5 exercises
- Exercise 32: Flip a dict - 4 exercises
- Exercise 33: Transform values - 5 exercises
- Exercise 34: Almost supervocalic words - 4 exercises
- Exercise 35-A: Gematria-Part-1 - 5 exercises
- Exercise 35-B: Gematria-Part-2 - 4 exercises
- Exercise 36: Sales tax - 5 exercises
- Exercise 37: Menu - 3 exercises
- Exercise 38: Ice cream scoop - 4 exercises
- Exercise 39: Ice cream bowl - 4 exercises
- Exercise 40: Ice cream bowl with limits - 4 exercises
- Exercise 41: A bigger bowl - 5 exercises
- Exercise 42: FlexibleDict - 4 exercises
- Exercise 43: Animals - 4 exercises
- Exercise 44: Cage - 4 exercises
- Exercise 45: Zoo - 4 exercises
- Exercise 46: MyEnumerate - 4 exercises
- Exercise 47: Circle - 4 exercises
- Exercise 48: All lines all files - 4 exercises
- Exercise 49: Elapsed since - 4 exercises
- Exercise 50: MyChain - 1 exercise
- Get the book: https://www.amazon.de/Python-Workout-50-Essential-Exercises/dp/1617295507
- About Reuven M. Lerner and his works: https://lerner.co.il/
- Files for the Python Workout book - Reuven M. Lerner's GitHub account