Let's Use Python
by A to Z Dictionary
def with return
Here's a simple dice program.