Skip to content

Instantly share code, notes, and snippets.

@AndreUltrasi
Created November 27, 2016 01:41
Show Gist options
  • Save AndreUltrasi/0d94ef2905100c1def3b0d8eb52a4857 to your computer and use it in GitHub Desktop.
Save AndreUltrasi/0d94ef2905100c1def3b0d8eb52a4857 to your computer and use it in GitHub Desktop.
série 1/4+1/4**2...=1/3
#1/4+1/4*2....=1/3
x=0.25
n=2
while n!=30:
print(x,n)
x=x + 1/4**n
n+=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment