Commit 4f01899b authored by muris2016's avatar muris2016
Browse files

Nombres de variables mejorados

parent 6dfb48f5
......@@ -10,8 +10,8 @@ import calcoohija
if __name__ == "__main__":
script, filename = argv
with open(filename) as file:
calculator = calcoohija.CalculadoraHija()
calc = calcoohija.CalculadoraHija()
for line in csv.reader(file):
operation = line[0]
numbers = line[1:]
calcplus.operating(calculator, operations, numbers)
calcplus.operating(calc, operations, numbers)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment