Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ejemplo2_python_20.068.214-9
#BastianMarinGarcia #20.068.214-9 import math while True: a = int(input()) if 1 <= a and a <= 50: break else: continue while True: S = float(input()) if -10 <= S and S <= 10: break else: continue ome = 0.0 con = 0 while ( con != a): ome += (((-1)**con)*(S**(con *3)))/math.factorial(con*3) con += 1 print("OMEGA (", S, ") para ", a , " Termino(s) = ", ome)
run
|
edit
|
history
|
help
0
Emails_Python
PyWeekD
.....✓[Guess the number]®®®®®®®•$$$$✓.....
denemeler
~2668 Pime Numbers list
DISPLAY
Fu 1
Prueba
Page 353 ex 42
Game4