/Python/Use the "map" function to find all the odd numbers and the even numbers in the list. Print 0 for odd and 1 for even. in python
Use the "map" function to find all the odd numbers and the even numbers in the list. Print 0 for odd and 1 for even. in python
Use the "map" function to find all the odd numbers and the even numbers in the list. Print 0 for odd and 1 for even. in python
0
- 0 vote140 views1 answer
- 44 votes136 views6 answers
- 0 vote136 views1 answer
- 16 votes137 views2 answers
- 10 votes146 views3 answers
- 0 vote145 views1 answer
- 2 votes144 views1 answer
- 6 votes143 views6 answers
- 10 votes133 views1 answer
- 0 vote242 views1 answer