write a python program using functions to read a list and find sum of odd values .
Answers
Answered by
0
Answer:
# Python program to print odd Numbers in a List
# list of numbers
list1 = [10, 21, 4, 45, 66, 93]
# iterating each number in list
for num in list1:
# checking condition
if num % 2 != 0:
print(num, end = " ")
Similar questions
Hindi,
4 months ago
Social Sciences,
4 months ago
Math,
4 months ago
Math,
9 months ago
English,
9 months ago