Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 12fd16d

Browse files
committed
CHORE Fixed typo in is_between_zero_and_one function
1 parent 901e709 commit 12fd16d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def fast_fib(n: int, cache: {int: int}) -> int:
4646

4747

4848
def is_between_zero_and_one(x: float, y: float) -> bool:
49-
"""Returns true if the floats x and y exist between 0 and 1 else otherwise"""
49+
"""Returns true if the floats x and y exist between 0 and 1 false otherwise"""
5050
return (0 < x < 1) and (0 < y < 1)
5151

5252

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /