Python Forum
For Loop and Use of Brackets to Modify Dictionary in Tic-Tac-Toe Game
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
For Loop and Use of Brackets to Modify Dictionary in Tic-Tac-Toe Game
#2
Line 10: Python starts from number 0, so its 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 which results in 10 numbers.
Reply


Messages In This Thread
RE: For Loop and Use of Brackets to Modify Dictionary in Tic-Tac-Toe Game - by Linenloid - Dec-26-2021, 02:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] [BeautifulSoup] Why does it turn inserted string's brackets into </>? Winfried 0 2,828 Sep-03-2022, 11:21 PM
Last Post: Winfried
  While loop not ending (Best of 10 dice game) K3nidi 3 2,535 Jul-09-2022, 09:53 AM
Last Post: K3nidi
  Reading list items without brackets and quotes jesse68 6 7,274 Jan-14-2022, 07:07 PM
Last Post: jesse68
  Data pulled from SQL comes in brackets nickzsche 3 4,506 Jan-04-2022, 03:39 PM
Last Post: ibreeden
  loop adventure game ilikedofs 1 2,322 May-26-2021, 12:43 AM
Last Post: bowlofred
  Getting a certain value from inside brackets. LeoT 5 4,300 Mar-01-2021, 03:34 PM
Last Post: buran
  Adding to the dictionary inside the for-loop - weird behaviour InputOutput007 5 4,242 Jan-21-2021, 02:21 PM
Last Post: InputOutput007
  Iterating over a dictionary in a for loop - checking code has worked sallyjc81 1 2,678 Dec-29-2020, 05:14 PM
Last Post: ndc85430
  How to modify item in dictionary? Winfried 7 5,350 Nov-21-2020, 07:12 PM
Last Post: bowlofred
  Designing a "game" loop api pitosalas 2 3,450 Jun-07-2020, 03:20 PM
Last Post: pitosalas

Forum Jump:

User Panel Messages

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