Created
August 17, 2022 16:52
-
-
Save NotoriousArnav/607b224840e8886d27cd643fa2f58c9d to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Goal: To get Square and Square root of any number given by user | |
num= float(input ("Enter a number ")) | |
sq=num*num | |
sqrt=num **(1/2) | |
print (f"your square of the given is {sq} and square root is {sqrt}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment