Python> Termux Error (Novice - Learning)

The issue you’re encountering occurs because you’re trying to run Python code directly in your terminal shell (bash), not in a Python interpreter or script.