Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Eje2_Python_201169275
#python 3.6.9 #NicolásPeraltaVergara #20.116.927-5 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 OMG = 0.0 CT = 0 while ( CT != N): OMG += (((-1)**CT)*(X**(CT *3)))/math.factorial(CT*3) CT += 1 print("OMEGA (", X, ") para ", N , " Termino(s) = ", OMG)
run
|
edit
|
history
|
help
0
Pawan 1
test3.py
codigo1
haha
BiseccionPython
print path module python
Урок 4 задача 4: решить в целых числах уравнение ax=b (python)
Skillenza Common subjects
gj
Calculator