Fix mypy error at maths
diff --git a/maths/greedy_coin_change.py b/maths/greedy_coin_change.py
index 5a7d9e8d84ae..5233ee1cbc12 100644
--- a/maths/greedy_coin_change.py
+++ b/maths/greedy_coin_change.py
@@ -41,7 +41,7 @@
 """
 
 
-def find_minimum_change(denominations: list[int], value: int) -> list[int]:
+def find_minimum_change(denominations: list[int], value: str) -> list[int]:
     """
     Find the minimum change from the given denominations and value
     >>> find_minimum_change([1, 5, 10, 20, 50, 100, 200, 500, 1000,2000], 18745)
@@ -75,7 +75,7 @@ def find_minimum_change(denominations: list[int], value: int) -> list[int]:
 if __name__ == "__main__":
 
     denominations = list()
-    value = 0
+    value = "0"
 
     if (
         input("Do you want to enter your denominations ? (yY/n): ").strip().lower()
diff --git a/maths/triplet_sum.py b/maths/triplet_sum.py
index 22fab17d30c2..af77ed145bce 100644
--- a/maths/triplet_sum.py
+++ b/maths/triplet_sum.py
@@ -19,7 +19,7 @@ def make_dataset() -> tuple[list[int], int]:
 dataset = make_dataset()
 
 
-def triplet_sum1(arr: list[int], target: int) -> tuple[int, int, int]:
+def triplet_sum1(arr: list[int], target: int) -> tuple[int, ...]:
     """
     Returns a triplet in the array with sum equal to target,
     else (0, 0, 0).
diff --git a/maths/two_sum.py b/maths/two_sum.py
index 5209acbc7e44..12ad332d6c4e 100644
--- a/maths/two_sum.py
+++ b/maths/two_sum.py
@@ -31,7 +31,7 @@ def two_sum(nums: list[int], target: int) -> list[int]:
     >>> two_sum([3 * i for i in range(10)], 19)
     []
     """
-    chk_map = {}
+    chk_map: dict[int, int] = {}
     for index, val in enumerate(nums):
         compl = target - val
         if compl in chk_map:

Related issue #4052

### **Describe your change:**



* [ ] Add an algorithm?
* [x] Fix a bug or typo in an existing algorithm?
* [ ] Documentation change?

### **Checklist:**
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [x] This pull request is all my own work -- I have not plagiarized.
* [x] I know that pull requests will not be merged if they fail the automated tests.
* [x] This PR only changes one algorithm file.  To ease review, please open separate PRs for separate algorithms.
* [x] All new Python files are placed inside an existing directory.
* [x] All filenames are in all lowercase characters with no spaces or dashes.
* [x] All functions and variable names follow Python naming conventions.
* [x] All function parameters and return values are annotated with Python [type hints](https://docs.python.org/3/library/typing.html).
* [x] All functions have [doctests](https://docs.python.org/3/library/doctest.html) that pass the automated testing.
* [x] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
* [x] If this pull request resolves one or more open issues then the commit message contains `Fixes: #{$ISSUE_NO}`.
