""" Add two random numbers together. Requires no setup. >>> add(1,2) 3 """ import random # Instructions: # Run this file through the doctest module, thus: # python -m doctest -v doctest.py def add (num1, num2): """ Add two numbers. Postional arguments: num1 -- an integer or double number (no default) num2 -- an integer or double number (no default) """ return num1 + num2 numA = random.random() * 10 numB = random.random() * 10 print(add(numA, numB))