Python - Not executing function -


Text after "div class =" itemprop = "text">

DEF loan (x): x = integer (raw_input ("what is your FICO score"))

if x> = 760: print ("rate = 3.080")

elif x> = 700: print ("rate = 3.302")

elif x> = 680 : Print ("rate = 3.479")

elif x> = 660: print ("rate = 3.693")

elif x> = 640: print ("rate = 4.123"

elif x> = 620: print ("rate = 4.66")

Other: print ('Accept = No')

< Div class = "post-text" itemprop = "text">

The issue should be with the raw_input function. Try this:

  Deb DE Gt = = 700: print ("rate = Gt; = 680: elif x> = 680: print ("rate = 3.479") elif x> = 660: print ("rate = 3.693") elif x> = 640: print ("rate = 4.123" ) Elif x> = 620: print ("rate = 4.66") and: more about changing the name of the print ('approval = no') loan (10)  

function Details:


Comments