Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicNesh26 authored May 17, 2024
1 parent a97b11e commit e3245c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ https://github.com/EpicNesh26/Python-Blackjack-game/blob/684cb2c5a1367c58e9ac191

# Method 2
This Python script simulates a deck of cards and a dealing function. It uses the random module to shuffle the deck, consisting of suits ("Spades," "Clubs," "Hearts," "Diamonds") and ranks with corresponding values. The deck is built by combining suits and ranks, then shuffled. The deal function returns a specified number of cards from the top of the shuffled deck. The script demonstrates deck creation, shuffling, and card dealing, and prints the dealt card's suit and rank.

https://github.com/EpicNesh26/Python-Blackjack-game/blob/a97b11e177df968b8663d8e78bea44c3b622821e/Method2.py#L6-L25

# Final Code

Expand Down

0 comments on commit e3245c0

Please sign in to comment.