Skip to content

Instantly share code, notes, and snippets.

@abhi923
Created April 26, 2020 13:01
Show Gist options
  • Save abhi923/ce8fd3eca0efb83fcccc409d5ba3444d to your computer and use it in GitHub Desktop.
Save abhi923/ce8fd3eca0efb83fcccc409d5ba3444d to your computer and use it in GitHub Desktop.
x = float(input("Enter value for x: "))
# put your code here
y = 1/(x+1/(x+1/(x+1/x)))
print("y =", y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment