-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
Bug Report for https://neetcode.io/problems/python-if
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
def is_balance_low(balance: int) -> None:
if balance <= 100:
balance = str(balance)
print (balance + ":" + "Warning: Low balance.")
The if Statement in your solution doesn't provide any information - for which balance values it is providing the Low balance responses. In our case it should provide the following responses:
Output :
99:Warning: Low balance.
100:Warning: Low balance.
Metadata
Metadata
Assignees
Labels
No labels