/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
- 0 vote104 views1 answer
- 2 votes99 views1 answer
- 0 vote98 views1 answer
- 9 votes112 views2 answers
- 0 vote103 views1 answer
- 0 vote116 views1 answer
- 0 vote117 views1 answer
- 0 vote123 views1 answer
- 2 votes66 views2 answers
- 4 votes139 views4 answers