Go to advanced search

by VintageDude
Thu Jul 16, 2020 7:17 pm
Forum: Python
Topic: For Loop iteration Problem
Replies: 6
Views: 242

Re: For Loop iteration Problem

Ahhhhh!!! Clarity! I see said the blind man as he picked up his hammer and saw.
by VintageDude
Thu Jul 16, 2020 2:57 am
Forum: Python
Topic: For Loop iteration Problem
Replies: 6
Views: 242

Re: For Loop iteration Problem

for unused in range(len(players) // 2)

That works but I am going to have to look it up. to understand it. Thank you kind sir.
by VintageDude
Thu Jul 16, 2020 2:34 am
Forum: Python
Topic: For Loop iteration Problem
Replies: 6
Views: 242

Re: For Loop iteration Problem

Yes but each time through the loop reduces the list size by 2 items. There are 18 items total in the list. The for loop should loop 9 times. 18/2 = 9. the for loop only loops 6 times.
by VintageDude
Thu Jul 16, 2020 1:50 am
Forum: Python
Topic: For Loop iteration Problem
Replies: 6
Views: 242

For Loop iteration Problem

Why does this for loop only iterate 6 times. I just don't understand what is wrong. players = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R'] # define the add_player to team function def add_player_to_team(team1, team2): # pick a player and add them to the ...
by VintageDude
Sat Feb 04, 2017 11:50 pm
Forum: Beginners
Topic: Wireless and Wired Network Settings
Replies: 0
Views: 408

Wireless and Wired Network Settings

Wireless is working fine on my Raspberrypi 3 and I can connect with SSH and VNC, browse the Internet etc... However the Icon for the Wireless and Wired Network Settings is different with my user account compared to how it appears with the PI account. The PI account has the radio icon whereas my acco...

Go to advanced search