This is a collection of 50 probability problems, each with a solution.
The solutions are in the form of a Python script, which can be run with
python solution.py
or
python3 solution.py
depending on your Python version.
The solutions are in the public domain.