mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
Merge https://github.com/Swayam221/mathgenerator into swayam
This commit is contained in:
16
.github/ISSUE_TEMPLATE/new-generator-idea.md
vendored
Normal file
16
.github/ISSUE_TEMPLATE/new-generator-idea.md
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
name: New Generator Idea
|
||||
about: Use this template if you have an idea for a new generator.
|
||||
title: ''
|
||||
labels: New generator, hacktoberfest
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Example Problem:**
|
||||
|
||||
**Example Solution:**
|
||||
|
||||
**Further explanation:**
|
||||
|
||||
**Would you like to be assigned to this:**
|
||||
10
.github/ISSUE_TEMPLATE/other-issue.md
vendored
Normal file
10
.github/ISSUE_TEMPLATE/other-issue.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: Other Issue
|
||||
about: If your issue lies outside of the other templates
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
|
||||
12
.github/ISSUE_TEMPLATE/request-changes-to-a-generator.md
vendored
Normal file
12
.github/ISSUE_TEMPLATE/request-changes-to-a-generator.md
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
name: Request changes to a generator
|
||||
about: If you find a faulty generator that needs a fix, use this template.
|
||||
title: ''
|
||||
labels: bug, hacktoberfest
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Name or Id of generator:**
|
||||
|
||||
**Issue:**
|
||||
@@ -78,7 +78,7 @@ def binaryComplement1sFunc(maxDigits=10):
|
||||
question += temp
|
||||
answer += "0" if temp == "1" else "1"
|
||||
|
||||
problem = question
|
||||
problem = question+"="
|
||||
solution = answer
|
||||
return problem, solution
|
||||
|
||||
@@ -142,7 +142,7 @@ def lcmFunc(maxVal=20):
|
||||
while(y):
|
||||
x, y = y, x % y
|
||||
d = c // x
|
||||
problem = f"LCM of {a} and {b} = "
|
||||
problem = f"LCM of {a} and {b} ="
|
||||
solution = str(d)
|
||||
return problem, solution
|
||||
|
||||
|
||||
Reference in New Issue
Block a user