Python program to convert dollars to rupees

Views: 149   

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

dollars = float(input("Please enter dollars:"))
rupees = dollars * 64
print(rupees, " Rupees")

Output:

Please enter dollars: 500
32000.0  Rupees
On By