Convert String Variable To Int Python Code For Calculator