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
I_Love_India
Breadth-First Path Finding
Calculate Volume of Sphere
Greatest Common Factor (Euclidean algorithm, aka Euclid's algorithm)
ASCII Art
hw11
Python | Random elements with atleast K occurrences
wrong update class
ganesh
ванечка с тебя 200 рублей, жду мой сладкий 🤑