Code Experts
Home
Challenges
Notes
Compiler
Forum
Exam
Contact
Sign in
Sign up
Home
Challenges
Notes
Compiler
Exam
Forum
Contact
Log In / Register
Copied To Clipboard !
Mapping with Condition
Use map to convert a list of numbers to 'Even' or 'Odd' based on their parity.
Code :
[7, 8, 9, 10]
Total :
0 Discussion
Login
Code (Optional)
Upload Code Image (Optional)
Post Your Comment