You are not logged in. Please login at www.codechef.com to post your questions!

×

ATM - Getting a Runtime Error(NZEC) during submission(Python-3.5). Can anyone please help.

print('Hello,Please enter the amount you want to withdraw:') withdraw=int(input()) print('Enter the available balance') balance=float(input()) if (withdraw % 5 != 0) or (withdraw > balance - 0.5): print(balance) else: print("Balance is:"+"{:.2f}".format(balance - withdraw - 0.5))

asked 11 Jul, 22:42

anurag1991's gravatar image

0★anurag1991
1
accept rate: 0%

edited 11 Jul, 22:44

Please give submission link instead of code.

(12 Jul, 19:15) vijju123 ♦5★
toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×182
×37

question asked: 11 Jul, 22:42

question was seen: 67 times

last updated: 12 Jul, 19:15