import unittest

from crossword import Crossword


class CrosswordTestCase(unittest.TestCase):

    def test_crossword_set_and_get_element(self):
        c = Crossword(10, 10)
        c[3, 3] = 'A'
        self.assertEqual(c[3, 3], 'A')

import unittest

from crossword import Crossword


class CrosswordTestCase(unittest.TestCase):

    def test_crossword_set_and_get_element(self):
        crossword = Crossword(10, 10)
        crossword[3, 3] = 'A'
        self.assertEqual(crossword[3, 3], 'A')

Use a better variable name instead of one character
Use a better variable name instead of one character

  import unittest
  
  from crossword import Crossword
  
  
  class CrosswordTestCase(unittest.TestCase):
  
      def test_crossword_set_and_get_element(self):
-         c = Crossword(10, 10)
+         crossword = Crossword(10, 10)
-         c[3, 3] = 'A'
+         crossword[3, 3] = 'A'
-         self.assertEqual(c[3, 3], 'A')
+         self.assertEqual(crossword[3, 3], 'A')
  
Use a better variable name instead of one character
## Code Before:
import unittest

from crossword import Crossword


class CrosswordTestCase(unittest.TestCase):

    def test_crossword_set_and_get_element(self):
        c = Crossword(10, 10)
        c[3, 3] = 'A'
        self.assertEqual(c[3, 3], 'A')

## Instruction:
Use a better variable name instead of one character
## Code After:
import unittest

from crossword import Crossword


class CrosswordTestCase(unittest.TestCase):

    def test_crossword_set_and_get_element(self):
        crossword = Crossword(10, 10)
        crossword[3, 3] = 'A'
        self.assertEqual(crossword[3, 3], 'A')
