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

Online now

Members online
1,068
Guests online
1,309
Total visitors
2,377

Forum statistics

Threads
2,277,059
Posts
28,974,040
Members
1,229,710
Latest member
Yukijay
Back
Top