Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
EJ2_PYTHON_20.321.212-7
#VicenteGonzalezFariña #20.321.212-7 import math while True: N = int(input()) if 1 <= N and N <= 50: break else: continue while True: X = float(input()) if -10.0 <= X and X <= 10.0: break else: continue Omega = 0.0 num = 0 while ( num != N): Omega += (((-1)**num)*(X**(num *3)))/math.factorial(num*3) num += 1 print("OMEGA (", X, ") para ", N , " Termino(s) = ", Omega)
run
|
edit
|
history
|
help
0
X
HW selectionsort using while
Python mehrfachvererbung
Tuples operating with '+' '*'
Nearest Prime Number
Submission.py
Contact Class
ass
Convert String to Lower Case
An attempt at making an encrypting algo in Python.