Power Notation Python