Pages

Tuesday, August 13, 2019

Write simple programs to convert U.S. dollars to Indian rupees

dollar = float(input("Please enter number of dollars:"))
rupee = dollar * 71.12
print(" Rupees:", rupee)

#It display following output
Please enter number of dollars:1 Rupees: 71.12

No comments:

Post a Comment