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-3.tar.gz (2.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for hbrootcalculator-3.tar.gz
Algorithm Hash digest
SHA256 0968f71246a1cc4d09efa7154cc5854fce0862b0454beb6138359b369dc42508
MD5 9ad7275db43d80a628047386d32cbb55
BLAKE2b-256 67c8112ead81905d737f12f8f7f4b8241f175a97a660f04c74fdd5bda43519e7

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