/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
- 8 votes189 views5 answers
- 0 vote205 views1 answer
- 0 vote198 views1 answer
- 18 votes181 views5 answers
- 0 vote203 views3 answers
- 0 vote186 views1 answer
- 0 vote193 views1 answer
- 1 vote221 views1 answer
- 0 vote207 views1 answer
- 0 vote196 views2 answers