🔒 Closed List

Status
Not open for further replies.

KristanC

Honorary Poster
Hello po
for i in range(5)
print(i)
That's a normal loop but I want my output be stored into a list like this

[1,2, 3,4]
Is there a way everytime I tried to execute my code I got this result

[1] [2] [3] [4]
 
Status
Not open for further replies.

About this Thread

  • 3
    Replies
  • 308
    Views
  • 3
    Participants
Last reply from:
angelofmercy

Trending Topics

Online now

Members online
549
Guests online
6,726
Total visitors
7,275

Forum statistics

Threads
2,328,110
Posts
29,239,655
Members
1,161,514
Latest member
jijubijoju
Back
Top