... ly need to know that 52 cards are dealt out equally to four players, who are traditionally called north , east , south and west . Our class looks something like this: class Hand : """A hand of cards (bridge style)""" def __init__ ( self , north , eas ... t , south , west ): # Input parameters are lists of cards ('Ah', '9s', etc.) self . north = north self . east = east self . south = south s ... elf . west = west # ... (other possibly useful methods omitted) ... これはDjangoの仕様を使っていない、普通のPythonクラスです。モデルで ... 2026年10月08日