How can I make my program work : So today I made this program that is supposed to encrypt a password that you put into it. But when ever I run it it comes up with this:

Password = float(input('Enter Password: '))
ValueError: could not convert string to float: 'Banana' (the word I chose for this test)

I have asked some of my friends but they don't know. Any suggestions on how I could fix this.

Please keep in mind that I am a noob at this so I might have made some mistakes.

        #Macchiat0
        #10 May 2016
        #This program will encrypt and decrypt user passwords.

        #init
        encryptionlist = (('a','q'), ('b','w'), ('c','e'), ('d','r'), ('e','t'),          ('f','y'), ('g','u'), ('h','i'), ('i','o'), ('j','p'), ('k','a'), ('l','s'), ('m','d'), ('n','f'), ('o','g'), ('p','h'), ('q','j'), ('r','k'), ('s','l'), ('t','z'), ('u','x'), ('v','c'), ('w','v'), ('x','b'), ('y','n'), ('z','m'))

      print('This program will encrypt and decrypt user passwords')

      #Program Menu
       ans=True

        while True:
    print('1. Enter 1 to encrypt a password: ')
    print('2. Enter 2 to decrypt a password: ')
    print('3. Exit/Quit')
    ans = input('What do you want to do? ')
    if ans=="1":
        print("\n Enter 1 to encrypt a password: ")
        Password = float(input('Enter Password: '))
        print('Your new encryptid password is:',Password,'')
    if ans=="2":
        print("\n Enter 2 to decrypt a password: ")
        Password = float(input('Enter Password: '))
        print('Your new decryptid password is:',Password,'')
    elif ans=="3":
      print("\n Goodbye")
      break
    else:
        print("\n Not Valid Choice Try Again")
        

