Computer Science, asked by saisujan673, 5 months ago

Write a python program to create a list of integers from 1 to 100​

Answers

Answered by abhay210302
0

Answer:

for X in range(1,101);

list.append(X)

print ("the list of integer numbers between 0 to 100 is:" +X)

Explanation:

all the numbers between 1 to 100 are integers

for X in range loops no between 1 to 100

I wrote 101 becoz last no is ignored in this loop

list.append is a function for making all the elements inside it to form a list

Similar questions