4 Answers
+ 8
You will get better responses if you show your attempts by posting your code. Otherwise, people may think that you're simply wanting others to do your homework.
+ 3
Share your code
+ 2
Sir I made ...but am printing odd even value ...inside function ...not returning value ......but I got answer ..py use of touple I can return value
+ 1
Try to do your own code and after that, you can ask questions or doubts if you need ;-)