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

Paul McGuire ptmcg at
Thu Oct 26 15:24:34 CEST 2006

"Arun Nair" <nairarunv at> wrote in message 
news:1161845731.501326.46510 at
> ''' 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