15th Apr 2018, 8:58 AM
Raphael Shay
Raphael Shay - avatar
7 Answers
+ 7
If you want to deal all those cards to both the player and computer, here's some hints: cards.remove(cards[0]) # there is no zero in the cards EDIT: Raphael this will remove the first item of the list. You may replace it with taking the last one -- it's irrelevant here -- by using .pop() playerCards.append(moveCard) # += will add elements of each string not the string itself computerCards.append(moveCard) # same as above devide = 1 # not ==, as this is a comparison, not assignment devide = 2 # same as above
15th Apr 2018, 10:47 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 12
Share your code please :)
15th Apr 2018, 9:07 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 2
Akib Reza Wow very funny, if that makes you laugh, so I feel bad for you
16th Apr 2018, 4:49 AM
Raphael Shay
Raphael Shay - avatar
+ 1
Best question i have seen till now😂😂😂👏👏👏
15th Apr 2018, 9:12 AM
Akib
Akib - avatar
+ 1
Akib Reza: why what's so funny?
15th Apr 2018, 2:48 PM
Raphael Shay
Raphael Shay - avatar
+ 1
And what do I do if I want to remove the first item on the list?
15th Apr 2018, 2:49 PM
Raphael Shay
Raphael Shay - avatar
- 2
@Raphael shay You didn't post the code earlier and asked that weird question. Why wouldn't it be funny.
16th Apr 2018, 12:22 AM
Akib
Akib - avatar