🔒 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
  • 354
    Views
  • 2
    Participants
Last reply from:
KristanC

Trending Topics

Online now

Members online
454
Guests online
2,196
Total visitors
2,650

Forum statistics

Threads
2,331,518
Posts
29,258,650
Members
1,149,666
Latest member
asikihf
Back
Top