Skip to content
C

Problem 4: Card Draw Probability (Without Replacement)

Easypython

Problem Description

Write a Python program that calculates the probability of drawing two red cards in a row from a standard 52-card deck, without replacement (i.e., the first card is not put back before drawing the second).

Input

None (a standard 52-card deck with 26 red cards is assumed).

Output

The calculated probability of drawing two red cards in a row.

Constraints

  • Assume a standard, well-shuffled 52-card deck with exactly 26 red cards.

Example Input

text
(no input required)

Example Output

text
Probability of two red cards in a row: 0.2549

Concepts Covered

Dependent events, probability multiplication rule, basic arithmetic.

Input (stdin)

Output

Run your code to see output here...