Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/areaproblem.py
diff options
context:
space:
mode:
authorpmoxhay <pmoxhay@earthlink.net>2009-02-11 01:15:02 (GMT)
committer pmoxhay <pmoxhay@earthlink.net>2009-02-11 01:15:02 (GMT)
commitc7a85dd8b37262624852fb61cab8cb7e672764a5 (patch)
treeb4f3a273ce468bb83a3d7fa94e4fad5374a19dca /areaproblem.py
parentf1ef525a057dd1224366aa11e511086cbfce9b40 (diff)
Add problems in comparing lengths.
Diffstat (limited to 'areaproblem.py')
-rw-r--r--areaproblem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/areaproblem.py b/areaproblem.py
index 8a19b23..24d73aa 100644
--- a/areaproblem.py
+++ b/areaproblem.py
@@ -31,12 +31,12 @@ class AreaProblem(Problem):
def __init__(self, container):
self.container = container
- self.generate_area_problem()
+ self.generate_problem()
self.show_problem()
self.answer = self.find_answer()
- def generate_area_problem(self):
+ def generate_problem(self):
# Choose two random colors.
(color1, color2) = random.choice([(Color.RED, Color.BLUE), (Color.BLUE, Color.RED), \
(Color.RED, Color.GREEN), (Color.GREEN, Color.RED), \