Skip to content

Instantly share code, notes, and snippets.

@NotoriousArnav
Created August 17, 2022 16:52
Show Gist options
  • Save NotoriousArnav/607b224840e8886d27cd643fa2f58c9d to your computer and use it in GitHub Desktop.
Save NotoriousArnav/607b224840e8886d27cd643fa2f58c9d to your computer and use it in GitHub Desktop.
test
# 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