#Card
class Card:
	#Define the possible suits and values
	suits  = ['H','D','S','C']
	values = [str(x) for x in range(2,10)] #2-9 cards
	values.extend(['T','J','Q','K','A']) #Face cards (including the 10s)

	#Initiate card
	def __init__(self,value,suit):
		#Check to see if valid inputs, else return False
		if suit in self.suits:
			self.suit  = suit
		else:
			return False
		if value in self.values:
			self.value = value
		else:
			return False
		#Return a card representation
		return (self.value, self.suit)
@@ -286,31 +286,54 @@
 s, else 
-return Fals
+make it None valu
 e%0A%09%09
+self.suit = suit 
 if suit 
@@ -349,139 +349,84 @@
 uits
-:%0A%09%09%09self.suit  = suit%0A%09%09else:%0A%09%09%09return False%0A%09%09if value in self.values:%0A%09%09%09self.value = value%0A%09%09else:%0A%09%09%09return False%0A%09%09#Return a
+ else None %0A%09%09self.value = value if value in self.values else None%0A%09%09#Create
  car
@@ -448,14 +448,19 @@
 n%0A%09%09
-return
+self.card =
  (se

Update Card.py - Fixes initation so that if a value or suit is not valid, give that value or suit a None value.