How can i get only a money value input with out splitting dollars and cents?
I tried .isdigit() but then i can only use int not floats.
def deposit():
    deposit_amount = 0
    print('How much would you like to deposit?')
    print('No decimal')
    deposit_dollars = input('Dollar amount: ')   
    if deposit_dollars.isdigit():
        print('Double digit ex: 02 = 2 cents')
        deposit_cents =input('Cents: ') 
        if deposit_cents.isdigit():
            if int(deposit_cents) <= int(99):
                f = open(login+'.txt','a')
                i = datetime.now() 
                f.write(deposit_dollars+'.'+deposit_cents+','+i.strftime('%Y/%m/%d %H:%M:%S')+','+'Deposit'+'\n')
                f.close() 
                display_menu()
this code works but I'd like to have the input be in one entry. ex: 23.45. while not allowing a random letter or symbol other that decimal point.
