|| == == > == ==') elif val == 9: print('9 : -- o --')# || ------- > == ==') print_lines_in_reverse(toss_array) print("\n\n") With a modified three-coin method as default, this may avoid the Sung dynasty issue, i.e., when you have an easily available and simple method, you use it—but with a wrong probability! (Also, the first number starts from the bottom like a hexagram.) A JavaScript version of the Yarrow Stalk method, which generates slightly different probabilities, is available in open source form at GitHub. Probability analysis of I Ching divination Most analyses of the probabilities of either the coin method or yarrow-stalk method agree on the probabilities for each method. The coin method varies significantly from the yarrow-stalk method, in that the former gives the same probability to both of the moving lines and to both of the static lines, which is not the case in the yarrow-stalk method. However, the calculation of the frequencies for the yarrow-stalk method—generally believed to be the same as those described in this article in the simplified method using sixteen objects—contains a further error, in the opinion of Andrew Kennedy, which is that of including the selection of zero as a quantity for either hand. The yarrow-stalk procedure expressly requires that the four numbers be produced without using zero; Kennedy shows that by not allowing the user to select zero for either hand, or a single stalk for the right hand (this stalk is moved to the left hand before counting by fours, and so also leaves a zero in the right hand), the hexagram frequencies change significantly for a daily user of the oracle. Kennedy has modified the simplified method of using sixteen coloured objects described in this article as follows: This arrangement produces Kennedy's calculated frequencies within 0.1%. In popular culture In Profiler Season 1, Episode 3: "Holy Alliance" (1996), a serial killer uses I Ching, and the hexagram determines what and how someone is chosen and killed. In the Mad Men season 6 episode, "Crash", Frank Gleason's flower child daughter, Wendy, uses the three-coin method to tell fortunes at the offices of the newly merged firm. In The Man In the High Castle by Philip K. Dick, several characters consult the I Ching at various points and consider the answers given. Dick apparently used the I Ching while writing his novel, to help him decide on the direction of the