Easy
Cubes of Odd Numbers
Read n and print the list
[x ** 3 for x in range(1, n + 1) if x % 2].Input
One integer.
Output
A list.
Sample 1
Input
5
Output
[1, 27, 125]
Sample 2
Input
1
Output
[1]
Output appears here