def with return

Here's a simple dice program.

defwithreturn1's photo