This article contains my solutions to the exercises from "The Python Workbook", by Ben Stephenson. All solutions are written in Python 3.
Special Thanks to Mr. Parasar Poudel for his contribution to this project.
Exercise 104: Sorted Order
Exercise 105: Reverse Order
Exercise 106: Remove Outliers
Exercise 107: Avoiding Duplicates
Exercise 108: Negatives, Zeros and Positives
Exercise 109: List of Proper Divisors
Exercise 110: Perfect Numbers
Exercise 111: Only the Words
Exercise 112: Below and Above Average
Exercise 113: Formatting a List
Exercise 114: Random Lottery Numbers
Exercise 115: Pig Latin
Exercise 116: Pig Latin Improved
Exercise 117: Line of Best Fit
Exercise 118: Shuffling a Deck of Cards
Exercise 119: Dealing Hands of Cards
Exercise 120: Is a List already in Sorted Order?
Exercise 121: Count the Elements
Exercise 122: Tokenizing a String
Exercise 123: Infix to Postfix
Exercise 124: Evaluate Postfix
Exercise 125: Does a List contain a Sub list
Exercise 126: Generate All Sub lists of a List
Exercise 127: The Sieve of Eratosthenes
Sorry, have you done part 7 of Python Workbook Questions?
ReplyDeleteX2
Delete