🔒 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.

Similar threads

About this Thread

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

Trending Topics

Online now

Members online
1,236
Guests online
3,769
Total visitors
5,005

Forum statistics

Threads
2,338,049
Posts
29,301,766
Members
1,125,980
Latest member
ayodesu
Back
Top