Computer Science, asked by susmiraja99, 3 months ago

fib-Sum of Odd digits in N in python programming
N=int(input())
oddSum=0
while______
if________
oddsum________
________
print(oddSum)​

Answers

Answered by Anonymous
1

Answer:

Explanation:

Python program to find the sum of all even and odd digits of an integer list ... an integer list, we can produce the sum of all its odd and even digits. Input : test_list = [345, 893, 1948, 34, 2346] ... print ( "Odd digit sum : " + str (odd_sum)) ... even_sum + = sum ([ int (ele) for ele in str (sub) if int (ele) % 2 = = 0 ]).

Similar questions