import random

p1int = random . randrange ( 1 , 21 ) + #insert your player's initiative mods here

p2int = random . randrange ( 1 , 21 ) +

p3int = random . randrange ( 1 , 21 ) +

p4int = random . randrange ( 1 , 21 ) +

p5int = random . randrange ( 1 , 21 ) +

howmany = input ( "how many monsters are there?" )

if howmany == 1 :

mod1 = input ( "what is initiative mod for 1?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

elif howmany == 2 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

elif howmany == 3 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

elif howmany == 4 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

mod4 = input ( "what is initiative mod for 4?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

print "monster4:" + str ( random . randrange ( 1 , 21 ) +mod4 )

elif howmany == 5 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

mod4 = input ( "what is initiative mod for 4?" )

mod5 = input ( "what is initiative mod for 5?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

print "monster4:" + str ( random . randrange ( 1 , 21 ) +mod4 )

print "monster5:" + str ( random . randrange ( 1 , 21 ) +mod5 )

elif howmany == 6 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

mod4 = input ( "what is initiative mod for 4?" )

mod5 = input ( "what is initiative mod for 5?" )

mod6 = input ( "what is initiative mod for 6?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

print "monster4:" + str ( random . randrange ( 1 , 21 ) +mod4 )

print "monster5:" + str ( random . randrange ( 1 , 21 ) +mod5 )

print "monster6:" + str ( random . randrange ( 1 , 21 ) +mod6 )

elif howmany == 7 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

mod4 = input ( "what is initiative mod for 4?" )

mod5 = input ( "what is initiative mod for 5?" )

mod6 = input ( "what is initiative mod for 6?" )

mod7 = input ( "what is initiative mod for 7?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

print "monster4:" + str ( random . randrange ( 1 , 21 ) +mod4 )

print "monster5:" + str ( random . randrange ( 1 , 21 ) +mod5 )

print "monster6:" + str ( random . randrange ( 1 , 21 ) +mod6 )

print "monster7:" + str ( random . randrange ( 1 , 21 ) +mod7 )

elif howmany == 8 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

mod4 = input ( "what is initiative mod for 4?" )

mod5 = input ( "what is initiative mod for 5?" )

mod6 = input ( "what is initiative mod for 6?" )

mod7 = input ( "what is initiative mod for 7?" )

mod8 = input ( "what is initiative mod for 8?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

print "monster4:" + str ( random . randrange ( 1 , 21 ) +mod4 )

print "monster5:" + str ( random . randrange ( 1 , 21 ) +mod5 )

print "monster6:" + str ( random . randrange ( 1 , 21 ) +mod6 )

print "monster7:" + str ( random . randrange ( 1 , 21 ) +mod7 )

print "monster8:" + str ( random . randrange ( 1 , 21 ) +mod8 )

elif howmany == 9 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

mod4 = input ( "what is initiative mod for 4?" )

mod5 = input ( "what is initiative mod for 5?" )

mod6 = input ( "what is initiative mod for 6?" )

mod7 = input ( "what is initiative mod for 7?" )

mod8 = input ( "what is initiative mod for 8?" )

mod9 = input ( "what is initiative mod for 9?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

print "monster4:" + str ( random . randrange ( 1 , 21 ) +mod4 )

print "monster5:" + str ( random . randrange ( 1 , 21 ) +mod5 )

print "monster6:" + str ( random . randrange ( 1 , 21 ) +mod6 )

print "monster7:" + str ( random . randrange ( 1 , 21 ) +mod7 )

print "monster8:" + str ( random . randrange ( 1 , 21 ) +mod8 )

print "monster9:" + str ( random . randrange ( 1 , 21 ) +mod9 )

elif howmany == 10 :

mod1 = input ( "what is initiative mod for 1?" )

mod2 = input ( "what is initiative mod for 2?" )

mod3 = input ( "what is initiative mod for 3?" )

mod4 = input ( "what is initiative mod for 4?" )

mod5 = input ( "what is initiative mod for 5?" )

mod6 = input ( "what is initiative mod for 6?" )

mod7 = input ( "what is initiative mod for 7?" )

mod8 = input ( "what is initiative mod for 8?" )

mod9 = input ( "what is initiative mod for 9?" )

mod10 = input ( "what is initiative mod for 10?" )

print "monster1:" + str ( random . randrange ( 1 , 21 ) +mod1 )

print "monster2:" + str ( random . randrange ( 1 , 21 ) +mod2 )

print "monster3:" + str ( random . randrange ( 1 , 21 ) +mod3 )

print "monster4:" + str ( random . randrange ( 1 , 21 ) +mod4 )

print "monster5:" + str ( random . randrange ( 1 , 21 ) +mod5 )

print "monster6:" + str ( random . randrange ( 1 , 21 ) +mod6 )

print "monster7:" + str ( random . randrange ( 1 , 21 ) +mod7 )

print "monster8:" + str ( random . randrange ( 1 , 21 ) +mod8 )

print "monster9:" + str ( random . randrange ( 1 , 21 ) +mod9 )

print "monster10:" + str ( random . randrange ( 1 , 21 ) +mod10 )

else

print "This tool has no support for monster groups over 10"

print "p1:" + str ( p1int )

print "p2:" + str ( p2int )

print "p3:" + str ( p3int )

print "p4:" + str ( p4int )