Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Playing Card Sorting
#5
You could start by creating a variable that will hold that will hold the 52 cards in a random order. Then you need to sort the variable and then (I presume) print the result. We don't know what tools you are allowed to use or not use. What you need is within Python's built-ins, so no third party libraries need to be installed.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
Playing Card Sorting - by ness828 - Feb-05-2018, 05:48 PM
RE: Playing Card Sorting - by Larz60+ - Feb-05-2018, 05:52 PM
RE: Playing Card Sorting - by ness828 - Feb-05-2018, 05:55 PM
RE: Playing Card Sorting - by Larz60+ - Feb-05-2018, 06:04 PM
RE: Playing Card Sorting - by sparkz_alot - Feb-05-2018, 09:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Turtle Graphics Card Values in a List Muzz 0 2,378 Apr-11-2019, 12:55 PM
Last Post: Muzz
  card dealer school project kalle1234 5 12,199 Jan-05-2019, 09:21 PM
Last Post: ichabod801
  card 21 trick SummoningZ 21 16,051 Aug-24-2017, 12:42 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020