If you don't want to install Python on your computer, there are also several online platforms where you can write and run Python code. These include:
Python Anywhere (https://www.pythonanywhere.com/)
Repl.it (https://repl.it/)
Google Colab (https://colab.research.google.com/)
These platforms allow you to write and run Python code directly in your browser, without needing to install anything on your computer.