lint fixes

This commit is contained in:
lukew3
2021-10-06 02:25:45 -04:00
parent 9682a569ba
commit 1b5054f6d3
91 changed files with 227 additions and 271 deletions

View File

@@ -9,13 +9,10 @@ def main(maxA=100, maxB=100, format='string'):
if format == "string":
return "|" + str(a) + "-" + str(b) + "|=", absDiff
elif format == 'latex':
return ("\\(|" + str(a) + "-" + str(b) + "|=\\)",
f"\\({absDiff}\\)")
return ("\\(|" + str(a) + "-" + str(b) + "|=\\)", f"\\({absDiff}\\)")
else:
return a, b, absDiff
absolute_difference = Generator(
"Absolute difference between two numbers", 71,
main,
["maxA=100", "maxB=100"])
absolute_difference = Generator("Absolute difference between two numbers", 71,
main, ["maxA=100", "maxB=100"])