Module ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad Str Str Dict If CompareGt NameLoad NameLoad body Assign NameStore Call NameLoad BinOpDiv NameLoad NameLoad AugAssignMod NameStore NameLoad orelse Assign NameStore Str If CompareGt NameLoad Num body AugAssignAdd NameStore Str Assign NameStore Num While NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice SubscriptLoad NameLoad Index NameLoad Str SubscriptLoad NameLoad Slice SubscriptLoad NameLoad Index NameLoad Str Break Assign SubscriptStore NameLoad Index NameLoad NameLoad AugAssignAdd NameStore Num AugAssignMult NameStore Num AugAssignAdd NameStore Call NameLoad BinOpDiv NameLoad NameLoad AugAssignMod NameStore NameLoad If BoolOpOr BoolOpAnd CompareGt NameLoad Num CompareLt NameLoad Num BoolOpAnd CompareLt NameLoad Num CompareGt NameLoad Num body Return BinOpAdd BinOpAdd Str NameLoad NameLoad orelse Return BinOpAdd NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Print Call AttributeLoad Call NameLoad attr Num Num Print Call AttributeLoad Call NameLoad attr Num Num Print Call AttributeLoad Call NameLoad attr Num Num Print Call AttributeLoad Call NameLoad attr Num Num
N/A Solution N/A N/A fractionToDecimal N/A N/A self numerator denominator N/A N/A N/A N/A dvd dvs N/A N/A abs numerator N/A abs denominator N/A N/A integer decimal dict N/A N/A N/A N/A dvd dvs N/A N/A integer N/A str N/A dvd dvs N/A dvd dvs N/A N/A integer 0 N/A N/A dvd 0 N/A N/A integer . N/A idx 0 N/A dvd N/A N/A N/A dvd dict N/A N/A decimal N/A N/A N/A N/A decimal N/A N/A dict N/A dvd ( N/A decimal N/A N/A dict N/A dvd ) N/A N/A N/A dict N/A dvd idx N/A idx 1 N/A dvd 10 N/A decimal N/A str N/A dvd dvs N/A dvd dvs N/A N/A N/A N/A numerator 0 N/A denominator 0 N/A N/A numerator 0 N/A denominator 0 N/A N/A N/A N/A - integer decimal N/A N/A N/A integer decimal N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A Solution fractionToDecimal 1 9 N/A N/A N/A N/A Solution fractionToDecimal -50 8 N/A N/A N/A N/A Solution fractionToDecimal 22 2 N/A N/A N/A N/A Solution fractionToDecimal -22 -2