number_list = [ 2 * number - 1 for number in range(1,5)]print(number_list)
Standard input is empty
[1, 3, 5, 7]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!