How to write code in python

Hi
Every one

Can any one help me!
Please tell me how i can write python code in linux .
Where should i write it
How i can run it
Please tell me the complete procedure

thanking in Advance

Take a look at The Python Tutorial — Python 3.11.4 documentation

If you don’t have python installed you will need to download and install
it.

Newell