Python program to convert rupees to dollars

Views: 318   

Following program shows you how to convert rupees to dollars
In this program we get rupees from user, once we get those we need to divide with 64 so that we get in dollars

rupees = float(input("Please enter rupees:"))
dollars = rupees / 64
print(dollars, " Dollars")

Output:

Please enter rupees: 1000
15.625  Dollars
On By