Thank you very much for thisFirst, you need a compiler or interpreter.
You can use those online ones as a start:
https://www.programiz.com/python-programming/online-compiler/
But I still recommend getting a software so you can save your code and what not. PyCharm is a great one.
I learnt the basics from Youtube tutorials and from Python's official documentation:
https://docs.python.org/3/