Skip to main content

A VERY BASIC ROOT CALCULATOR BY HB

Project description

HB ROOT CALCULATOR

THIS IS A SIMPLE ROOT CALCULTOR MODULE YOU CAN EASILY USE IT

Installation

pip install hbrootcalculator

Usage

import hbrootcalculator
number=int(input("HLO ENTER ANY NUMBER: "))
root=int(input("CUBE OR SQUARE ROOT : "))

if root=="2":
    result=(number**(1/2))
else:
    result=(number**(root))

print("RESULT =",result )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hbrootcalculator-5.tar.gz (1.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page