Currency Converter Using Python


#CURRENCY  CONVERTER
print("\t\t\t\t Convert Curenncies ")
print()


print("Choose the Country currency to change from Rupess  ")
print("\n1.Russia\n2.Argentina\n3.Thailand\n4.Algeria\n5.Afghanistan\n
6.United Kingdom\n7.Brazil")
print("8.Kuwait\n9.France\n10.Egypt\n11.Ukraine\n12.Nepal\n13.Japan,Korea\n14.Nigeria
\n15.US")
choice=int(input("Enter the choice (currency) : "))

# Converting the  other country Currencies to indian rupees
def cur_change():

    cost=eval(input("Enter the amount : "))

    pounds=convert(cost)
    if(choice==1):
         print("That is ",round(pounds,2),"Chervonets.")
    elif(choice==2):
         print("That is ",round(pounds,2),"Austral.")
    elif(choice==3):
                   print("That is ",round(pounds,2),"Baht.")

    elif(choice==4):
                   print("That is ",round(pounds,2),"Budju.")

    elif(choice==5):
                   print("That is ",round(pounds,2),"Afghani.")

    elif(choice==6):
                   print("That is ",round(pounds,2),"Crown.")

    elif(choice==7):
                print("That is ",round(pounds,2),"Brazilian cruzado.")

    elif(choice==8):
                 print("That is ",round(pounds,2),"Kuwaiti dinar.")

    elif(choice==9):
                print("That is ",round(pounds,2),"French franc.")

    elif(choice==10):
                print("That is ",round(pounds,2),"Egyptian guinea.")

    elif(choice==11):
                print("That is ",round(pounds,2),"Ukrainian karbovanets.")

    elif(choice==12):
            print("That is ",round(pounds,2),"Mohar.")

    elif(choice==13):
            print("That is ",round(pounds,2),"Mon.")

    elif(choice==14):
         print("That is ",round(pounds,2),"Naira.")
    elif(choice==15):
        print("That is ",round(pounds,2),"Dollars")



# Converting the  other country Currencies to indian rupees
if(choice==1):
    convert=lambda cost:cost*1.01
elif(choice==2):
    convert=lambda cost:cost*54.47
elif(choice==3):
    convert=lambda cost:cost*2.36
elif(choice==4):
    convert=lambda cost:cost*0.60
elif(choice==5):
    convert=lambda cost:cost*0.94
elif(choice==6):
    convert=lambda cost:cost*102.42
elif(choice==7):
    convert=lambda cost:cost*16.65
elif(choice==8):
    convert=lambda cost:cost*268.29
elif(choice==9):
    convert=lambda cost:cost*88.28
elif(choice==10):
    convert=lambda cost:cost*2.66
elif(choice==11):
    convert=lambda cost:cost*2.23
elif(choice==12):
    convert=lambda cost:cost*0.62
elif(choice==13):
    convert=lambda cost:cost*0.17
elif(choice==14):
    convert=lambda cost:cost*0.58
elif(choice==15):
    convert=lambda cost:cost*82.57   #@2023
else:
    print("Wrong choice!")
    print("Terminating....")
    
cur_change()

Join our team, where career growth knows no limits.

For More Details

Our internship program guarantees personalized attention for optimal career development in the tech industry.

+91 97879 68375

-> You should bring your own laptop during the internship

Who can apply?

Internships are open for students who: B.E / B.Tech / M.E / M.Tech / B.Sc / M.Sc / M.C.A / B.C.A / Diploma.

  • Ongoing Students Only
  • days, 5days/ 10days or Based on Student Preference
  • Limited 1 to 10 students per slot
  • Registration fees : 1000 INR
  • Slots are filling quickly only fewer slots are available