ATM Withdrawal Logic

Easy
#logic #finance

Input: `balance` (num), `amount` (num). Return: New balance if sufficient funds, else 'Insufficient Balance'.

Example

Input: 1000, 500
Output: 500
Need a hint?
  • Check condition balance >= amount
Run your code to see output