Pergunta de entrevista da empresa Samsara

design and code a data structure for a card that has three attributes

Resposta da entrevista

Sigiloso

26 de set. de 2018

class Card: def __init__(self, suit, value): self.suit=suit; self.value=value def __repr__(self): return self.suit+' '+str(self.value)