Static And Dynamic Array In Python Code For Calculator