Variable Float Python Definition Function