Use the Python range( ) function to create the following list :
[7, 3, -1, -5]
Answers
Answered by
0
Answer:
The codes are:
_______________________________
li=[]
for i in range(7,-6,-4):
li.append(i)
print(li)
______________________________
Answered by
3
l = [x for x in range(7, -6, -4)]
print(l)
Similar questions
History,
1 month ago
Social Sciences,
1 month ago
English,
1 month ago
Geography,
2 months ago
Political Science,
8 months ago
Math,
8 months ago