Wednesday, 19 August 2020

Python Workbook Questions - Solutions (Part 3)

 

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 61: Average




Exercise 62: Discount Table




Exercise 63: Temperature Conversion Table




Exercise 64: No More Pennies



Exercise 65: Compute the Perimeter of a Polygon




Exercise 66: Compute a Grade Point Average



Exercise 67: Admission Price




Exercise 68: Parity Bits



Exercise 70: Caesar Cipher




Exercise 74: Multiplication Table



Exercise 76: Prime Factors





Exercise 72: Is a String a Palindrome?




Exercise 75: Greatest Common Divisor


Exercise 77: Binary to Decimal



Exercise 78: Decimal to Binary





Exercise 79: Maximum Integer



Exercise 71: Square Root




Exercise 69: Approximate pi



Exercise 73: Multiple Word Palindromes





Exercise 80: Coin Flip Simulation



Post a Comment

Let's make it better!
Comment your thoughts...

Whatsapp Button works on Mobile Device only

Start typing and press Enter to search