Skip to content

Write a program that will simulate the process of dealing cards from a 52-card deck by generating 1,000 random integers in the range 1–52. Assume that numbers 1–13 represent clubs, 14–26 represent diamonds, 27–39 represent hearts, and 40–52 represent spades. Display the number of times each suit occurred in the 1,000 “deals.”

Notifications You must be signed in to change notification settings

prabhjot-singh11/card-shuffle-game-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

card-shuffle-game-in-python

In this program that will simulate the process of dealing cards from a 52-card deck by generating 1,000 random integers in the range 1–52. Assume that numbers 1–13 represent clubs, 14–26 represent diamonds, 27–39 represent hearts, and 40–52 represent spades. Display the number of times each suit occurred in the 1,000 “deals.”

About

Write a program that will simulate the process of dealing cards from a 52-card deck by generating 1,000 random integers in the range 1–52. Assume that numbers 1–13 represent clubs, 14–26 represent diamonds, 27–39 represent hearts, and 40–52 represent spades. Display the number of times each suit occurred in the 1,000 “deals.”

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages