Python_2  1.0
Classes | Functions
_01e_fracoes Namespace Reference

Reads a file with a series of fractions, and prints their sum and product. More...

Classes

class  Fracoes
 Process fractions on a given file. More...
 

Functions

def main (argv=None)
 Main method. More...
 

Detailed Description

Reads a file with a series of fractions, and prints their sum and product.

Author
Paulo Roma
Since
25/09/2014

Function Documentation

◆ main()

def _01e_fracoes.main (   argv = None)

Main method.

Reads a series of pairs of numerators and denominators and prints the sum and product of all fractions.