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 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: Body Mass Index
Exercise 28: Wind Chill
Exercise 29: Celsius to Fahrenheit and Kelvin
Exercise 30: Units of Pressure
Exercise 31: Sum of the Digits in an Integer
Exercise 32: Sort 3 Integers
Exercise 33: Day Old Bread
Post a Comment
Let's make it better!
Comment your thoughts...