Skip to content

Commit

Permalink
p41
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuefeng-Zhu committed Jul 6, 2014
1 parent b9b9077 commit 54f8428
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 41-formatted-division.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
def FormattedDivision(num1,num2):
temp = "%.4f" %(float(num1)/num2)
return "{:,}".format(float(temp))


# keep this function call here
# to see how to enter arguments in Python scroll down
print FormattedDivision(raw_input())

















0 comments on commit 54f8428

Please sign in to comment.