class Field: def __init__(self, ships=[]): self._ships = ships def shoot_at(self, tuple): pass def field_without_ships(self): pass def field_with_ships(self): lst = [[' ' for b in range(10)] for i in range(10)] print(lst) print(Field.field_with_ships()) With the tab, everything is fine just copied crookedly. Here is such a mistake
TypeError: field_with_ships() missing 1 required positional argument: 'self' What is the problem and will it appear with other methods?