Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Ej2_python_204676887
#Valentina MOral 20467688-7 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 counters = 0 while ( counters != N): omega += (((-1)**counters)*(X**(counters *3)))/math.factorial(counters*3) counters += 1 print("OMEGA (", X, ") para ", N , " termino(s) ", omega)
run
|
edit
|
history
|
help
0
PyRegSplit
Lesson 5 part b
lesson3 part3
Removing adjacent duplicates from string
Hi.py
oppo mobile
PyLSV
one
fb_series
.....✓[Guess the number]®®®®®®®•$$$$✓.....