Can any one help with solving this program it just doesnt take probability of the second team

Paul McGuire ptmcg at austin.rr._bogus_.com
Thu Oct 26 09:24:34 EDT 2006


"Arun Nair" <nairarunv at gmail.com> wrote in message 
news:1161845731.501326.46510 at h48g2000cwc.googlegroups.com...
> ''' Can anyone help me with this program it just takes probability of
> the first team and runs the program doesnt takes the probability of the
> second team even though specified'''
>
> from random import *
>
> def volleySimulation():
>    printInstructions()
>    probA, probB, n = getInputs()
>    winA, winB = simGames(n, probA, probB)
>    printSummary(winA, winB)
>
> def printInstructions():
>    print "This program stimulates a game of Volley Ball between two
> teams i.e. Team A and Team B"

While I was "stimulated" by reading this post, I think you mean "simulates" 
here. :)

-- Paul





More information about the Python-list mailing list