Im working with a python Odd numbers and my question is?.
An integer can either be odd (like 1,3,5,7,. . . ) or even (2,4,6,8,. . . ).
- Write a python code which takes as input two numbers and displays all odd numbers between them (and inclusive them) sorted according their value. As example, ff the two inputs are 40 and 33, the results should be: 33 35 37 39
- Generate a new list by mapping on each element x of the list (the one generated by the previous question) the function x ? x - 30 ? x - 13.
- Display numbers which are member of both lists?
Edited 3 Years Ago by pyTony: fixed formatting