Flake for 797+ lines

This commit is contained in:
NarayanAdithya
2020-10-18 09:15:21 +05:30
parent c94a596042
commit 716c3666f1

View File

@@ -1,4 +1,3 @@
# for lint
import random
import math
import fractions
@@ -783,6 +782,7 @@ def quadraticEquation(maxVal=100):
solution = str([round((-b + D) / (2 * a), 2), round((-b - D) / (2 * a), 2)])
return problem, solution
def hcfFunc(maxVal=20):
a = random.randint(1, maxVal)
b = random.randint(1, maxVal)
@@ -793,6 +793,7 @@ def hcfFunc(maxVal=20):
solution = str(x)
return problem, solution
def DiceSumProbFunc(maxDice=3):
a = random.randint(1, maxDice)
b = random.randint(a, 6 * a)