blob: f89b2ce25135fcc2e9fbefdd4cb7789bfd3c5132 (
plain)
1
2
3
4
5
6
7
8
9
|
name = "!"
sort_key = 95
def get_problem(self, difficulty):
import math
x = self.generate_number(difficulty)
question = " %s!" % (x)
answer = math.factorial(x)
return question, answer
|