i taking class , i'm confused. if guide me through proccess of , tell me doing wrong. have error has parentheses since theres nothing in them. newbie i'm sorry.
def fractiondivider(a,b,c,d): n = () d = () n2 = () d2 = () print int(float(n)/d), int(float(n2)/d2) return float (n)/d / (n2)/d2
your function taking in arguments a
, b
, c
, , d
, you're not using them anywhere. you're instead defining 4 new variables. try:
def fractiondivider(n, d, n2, d2):
and rid of empty parentheses bits, see if trying do.