Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~774 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Swedenrock

Hi! I've created three list in a class but when I print them i get <__main__.Kort instance at 0x16eb22b0> Anyone know how I can get the list to print put its "real" elements? [CODE] class Kortlek(): def __init__(self,colors=["blue ", "yellow ", "red "], forms=["triangel", "circle ", "square "], numbers=[1, 2, …

Member Avatar for TrustyTony
0
119
Member Avatar for Swedenrock

Hi! I'm working on a solitaire game, with a different card deck. First I create a big list with 81 elements (cards in this case), cardList. From this list, six cards are ramdomly picked and put into another list, playerCardList, and printed on the court. Once the cards are printed …

Member Avatar for woooee
0
140
Member Avatar for Swedenrock

Hi! Have some problems with my code again... I have a list "playerCardList" containing six elements where you pick out three of these. The three elements you pick should be removed from the bigger list "cardList" containing 81 elements. And after that three new elements from "cardList" would be put …

Member Avatar for VulcanDesign
0
141
Member Avatar for Swedenrock

Hi! When I print the six card I would like the "player" to be able to pick three out of these cards. Does anyone know how to do this? Do I create a new list and then append the cards to that list? Very thankful for any help! Here's the …

Member Avatar for woooee
0
215
Member Avatar for Swedenrock

My project is to create a solitaire game with a different card deck. I have created four lists with three objecs in each off them and I would like to create 81 unique cards out off these objecs. colors = [blue, yellow, red] shapes = [triangel, circle, square] numbers = …

Member Avatar for Gribouillis
0
159