Help me!


#1



I want to make inverse function..... Somebody can help me?? I have problem when I divide small integral into big integral... it returns 0 instead of Fraction....


`python

from fractions import Fraction
print u'역함수메이커'
print ' '
print ' '
print u' 코딩에 들어가는 함수의 형태는 기본형인 y = ax+b라는 점 고려해주세요'
print' '
print' '
a = int(raw_input(u"x의 계수(정수):"))
print' '
b = int(raw_input(u"y절편(정수): "))
print' '
print 'y = %d x + %d ' %(a , b)
c = Fraction(b,a)
print' '
print u'역함수 ==> y = 1/%d x - %d' %(a, c)


#2

sorry, but could you type all of the text in english with proper indentation...
put four spaces before each line
but why is there so much repetition of "print"