Skip to content

Commit 8ace223

Browse files
authored
Update easyPythonpi.py
This Python module, easypythonpi.py, is designed to help with a variety of common calculations, including basic arithmetic operations, binary-to-decimal conversion, Fibonacci sequence generation, and shape area calculations. It is built with simplicity and ease of use in mind, making it ideal for both beginners and intermediate users. The module also includes custom exceptions to handle invalid inputs gracefully.
1 parent 6bab1dd commit 8ace223

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

easyPythonpi/easyPythonpi.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,19 @@
2626
"""This Python module, easypythonpi.py, is designed to help with a variety of common calculations, including basic arithmetic operations, binary-to-decimal conversion, Fibonacci sequence generation, and shape area calculations. It is built with simplicity and ease of use in mind, making it ideal for both beginners and intermediate users. The module also includes custom exceptions to handle invalid inputs gracefully."""
2727

2828

29+
"""
30+
A python module that helps you to calculate some of the most used calculations.
31+
32+
Usage:
33+
Download the file from GitHub and unzip it on your system.
34+
To use this module, simply write the following in your code:
35+
'from easypythonpi import *' and you are good to go!
36+
37+
~Happy Programming
38+
"""
39+
40+
# Programmer-defined exceptions go here:
41+
2942
# Define exception for invalid binary strings
3043
class InvalidBinaryException(Exception):
3144
"""Raised when an invalid binary string is provided."""

0 commit comments

Comments
 (0)