Computer Science, asked by siddhisandipdarwatka, 2 months ago

Use the Python range( ) function to create the following list :
[7, 3, -1, -5]

Answers

Answered by allysia
0

Answer:

The codes are:

_______________________________

li=[]

for i in range(7,-6,-4):

   li.append(i)    

print(li)

______________________________

Answered by jai696
3

\large\mathsf\color{pink}{Solution\: using\: python\: 3}

l = [x for x in range(7, -6, -4)]

print(l)

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions