mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
linter fix
This commit is contained in:
@@ -2,6 +2,7 @@ from .__init__ import *
|
|||||||
|
|
||||||
import fractions
|
import fractions
|
||||||
|
|
||||||
|
|
||||||
def intersectionOfTwoLinesFunc(minM=-10,
|
def intersectionOfTwoLinesFunc(minM=-10,
|
||||||
maxM=10,
|
maxM=10,
|
||||||
minB=-10,
|
minB=-10,
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ from .__init__ import *
|
|||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
|
||||||
def quadraticEquation(maxVal=100):
|
def quadraticEquation(maxVal=100):
|
||||||
a = random.randint(1, maxVal)
|
a = random.randint(1, maxVal)
|
||||||
c = random.randint(1, maxVal)
|
c = random.randint(1, maxVal)
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ from .__init__ import *
|
|||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
|
||||||
def nthFibonacciNumberFunc(maxN=100):
|
def nthFibonacciNumberFunc(maxN=100):
|
||||||
golden_ratio = (1 + math.sqrt(5)) / 2
|
golden_ratio = (1 + math.sqrt(5)) / 2
|
||||||
n = random.randint(1, maxN)
|
n = random.randint(1, maxN)
|
||||||
|
|||||||
Reference in New Issue
Block a user