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 details)

Uploaded Source

File details

Details for the file hbrootcalculator-5.tar.gz.

File metadata

  • Download URL: hbrootcalculator-5.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for hbrootcalculator-5.tar.gz
Algorithm Hash digest
SHA256 fed4afdcf51e9569e99561e0837cab0f51bedf1d10a6fa627b6fcb009dcc1b03
MD5 a50151e9d9581ee7ec0379056c22fa6d
BLAKE2b-256 2cefd84c95692de299e160cd9c2cfb30f760d2aa3de2fbb7f0a4be13bb60a001

See more details on using hashes here.

Supported by

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