🔒 Closed Python 3 storing loop value into a list

Status
Not open for further replies.

KristanC

Honorary Poster
As you can see sa title mga lods, possible po bang magawa yan, if pwede po pa kapag po sana clue or example kahit di exact thanks po

Ganito po gusto kong mangare

Import random
for i in range(31)
var= random.randrange(-100,100)
print(var)

Yung value ni car na 30 values gusto ko store sa isang list
[1,7,8,23.....]
Ganiyan po
 
Status
Not open for further replies.

About this Thread

  • 3
    Replies
  • 348
    Views
  • 2
    Participants
Last reply from:
KristanC

Trending Topics

Online now

Members online
1,280
Guests online
3,874
Total visitors
5,154

Forum statistics

Threads
2,306,850
Posts
29,174,774
Members
1,194,070
Latest member
billii231
Back
Top