I have a class called deck, it stores a list of integers, I need to print those integers so I used
def printdeck(self):
print(" ".join(map(str,self.deck)))
It works and all but it returns "none" after use. I'd like it not to print "none" but I've no idea how to stop that. Any ideas?