Run Code
|
API
|
Code Wall
|
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 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
gj1
time module sleep localtime
shuru1
Game4
Python3 complete func.
Game4
Lesson 3 Homework:
GMK output
Set
PyRegSetRange