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
reverse the number
json array object loop
Name
#converting list into set
Python. Even
square cube
Square-Triangle Numbers
f strings 3
Hello
init constructor