Skip to content

Commit 47ed1d3

Browse files
authored
fix: black formatting issues
1 parent 86b7401 commit 47ed1d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

maths/greedy_coin_change.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ def find_minimum_change(denominations: list[int], value: int) -> list[int]:
7777
denominations = list()
7878
value = 0
7979

80-
if input("Do you want to enter your denominations ? (yY/n): ").strip().lower() == "y":
80+
if (
81+
input("Do you want to enter your denominations ? (yY/n): ").strip().lower()
82+
== "y"
83+
):
8184
n = int(input("Enter the number of denominations you want to add: ").strip())
8285

8386
for i in range(0, n):

0 commit comments

Comments
 (0)