kamikaze/python-practics — Issue #12: Stage 6: 
Author: kamikaze
Created: 2012-01-31 14:45:29+00:00
State: open
Labels: lessons

In stage6.py file do following:

Program randomly chooses equation and randomly generates components except one, which needs to be entered by user.

Possible equations are:
1) x + y = z
2) x * y = z

User enters value until it's correct or up to 6 tries. For example:
Program selected 1st equation, and randomly selected x and z to generate values for. User needs to guess value of y so equation will become valid.