Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [MicroPython] Beginner, program with lists
Post: RE: [MicroPython] Beginner, program with lists

Ok ! But what about the rest ? for i in range(1,n+1): r=randint(1,6)+randint(1,6) if r==2: a=a+1 if r==3: b=b+1 if r==4: c=c+1 if r==5: d=d+1 if r==6: e=e+1 if r==7: f=f+1 if r==8...
Hellon Homework 3 2,113 Nov-09-2019, 10:46 PM
    Thread: [MicroPython] Beginner, program with lists
Post: [MicroPython] Beginner, program with lists

Hello **smile** So here I am a beginner in Python and I have an exercise that asks me to replace the repetition with the list but I can't understand how to use it **undecided** Here is the code ...
Hellon Homework 3 2,113 Nov-09-2019, 07:07 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020