Write a Python function to find the maximum ODD number from a given list


Topic: Write a Python function to find the maximum ODD number from a given list

Solution

def odd_max_checker(list1):
	maxnum = 0
	for num in list1:
	    if num%2 != 0:
	        if num > maxnum:
	            maxnum = num
	return maxnum



List all Python Programs