×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Matthew J_
Added: Jun 23, 2022 12:34 PM
Views: 9
Tags: no tags
  1. def find_all_odds(lst):
  2.     odds_list = []
  3.  
  4.     for element in lst:
  5.         if element % 2 == 1:
  6.             odds_list.append(element)
  7.  
  8.     return odds_list
  9.