Question: probability problem 22 each of k jars contains m white...
Problem 22 -Each of k jars contains m white and n black balls. A ball is randomly chosen from jar 1 and transferred to jar 2, then a ball is randomly chosen from jar 2 and transferred to jar 3, etc. Finally, a ball is randomly chosen from jar k. Show that the probability that the last ball is white is the same as the probability that the first ball is white, i.e., it is m/(m +n).
For problem 22, use k=5, m=10, n=5. Write a short Python program for problem 22. Provide indented code and comments explaining your solution. Thanks