Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ej2_python_204676887
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 omega = 0.0 cont = 0 while ( cont != n): omega += (((-1)*cont)(x**(cont *3)))/math.factorial(cont*3) cont += 1 print("OMEGA (", x, ") para ", n , " termino(s) = ", omega)
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
PyRegLookAhead
library
SceneGraph Interviewee Task
My page
HW selectionsort using while
PySuper
PyNewInit
permutations example
Lesson8
Eje2_Python_201169275
Please log in to post a comment.