/Python/Num = [7,8, 120, 25, 44, 20, 27] newnum = [] def remove_even(num): for i in num: if i%2 != 0: newnum.append(i) return newnum print("get_unevens") test(remove_even(num), [7,25,27])
Num = [7,8, 120, 25, 44, 20, 27] newnum = [] def remove_even(num): for i in num: if i%2 != 0: newnum.append(i) return newnum print("get_unevens") test(remove_even(num), [7,25,27])
Num = [7,8, 120, 25, 44, 20, 27] newnum = [] def remove_even(num): for i in num: if i%2 != 0: newnum.append(i) return newnum print("get_unevens") test(remove_even(num), [7,25,27])
0
- 9 votes188 views2 answers
- 17 votes167 views2 answers
- 1 vote155 views1 answer
- -2 votes161 views1 answer
- 0 vote153 views1 answer
- 0 vote169 views1 answer
- 0 vote154 views1 answer
- 0 vote171 views1 answer
- 5 votes162 views1 answer
- 10 votes156 views2 answers