رفتن به مطلب

9.1.7 Checkerboard V2 Codehs !exclusive! -

# Get the dimensions from the user (or specific constants if the problem asks) width = int(input("What width? ")) height = int(input("What height? "))

Mixing up NUM_ROWS and NUM_COLS when calculating positions will cause your board to distort if it isn't perfectly square. 9.1.7 Checkerboard V2 Codehs

: The CodeHS autograder often checks for an "assignment statement" (e.g., grid[i][j] = 1 # Get the dimensions from the user (or

×
×
  • ایجاد مورد جدید...