Update calc.py

A mistake of using input in line 33