Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sum of odd numbers
from array import * a = array("i",[1,2,3,4,5,6]) d = [] b = 0 for c in a: if c%2 != 0 : c = c + b e = d.append(c) print(sum(d))
run
|
edit
|
history
|
help
0
ejemplo2_python_20.068.214-9
PyRegSetRange
0403_diamond
PyQP
IP Network and Broadcast calculator
ct
31 dec
Binary Search and Shell Sort in Python
linked_lists_2
Factorial