Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Eje2_Python_201169275
#python 3.6.9 #NicolásPeraltaVergara #20.116.927-5 import math while True: N = int(input()) if 1 <= N and N <= 50: break else: continue while True: X = float(input()) if -10 <= X and X <= 10: break else: continue OMG = 0.0 CT = 0 while ( CT != N): OMG += (((-1)**CT)*(X**(CT *3)))/math.factorial(CT*3) CT += 1 print("OMEGA (", X, ") para ", N , " Termino(s) = ", OMG)
run
|
edit
|
history
|
help
0
Repeated match within another regular expression
linked_lists
CRAZEEE!
fibonacciseries
nnn
mean
Breadth-First Path Finding
pythonfin
Temp
PyList