Skip to content

Instantly share code, notes, and snippets.

View subhoshreep's full-sized avatar
🎯
Focusing

Subhoshree Pattnaik subhoshreep

🎯
Focusing
View GitHub Profile
@subhoshreep
subhoshreep / .py
Created January 8, 2021 16:05
simple basic atm machine using python
widrawal=float(input())
balance=float(input())
while(balance!=0):
if(widrawal>balance):
print(balance)
break
if(widrawal%5==0 and widrawal<balance):
balance=balance-(widrawal+0.50)
print(round(balance,2))
break