code: def roll(rest, nick):
  	"Roll a die, default = 100."
  	if rest:
  		rest = rest.strip()
  		die = int(rest)
  	else:
  		die = 100
  	myroll = random.randint(1, die)
  	return "%s rolls %s" % (nick, myrollf roll(rest, nick):
  	"Roll a die, default = 100."
  	if rest:
  		rest = rest.strip()
  		die = int(rest)
  	else:
  		die = 100
  	myroll = random.randint(1, die)
  	return "%s rolls %s" % (nick, myroll)
docs: Roll a die, default = 100.