Here is some more help to make things easier for you!
Installing python:
Windows: https://www.howtogeek.com/197947/how-to-install-python-on-windows/
Linux: If you're using Ubuntu - Python comes pre-installed.
Mac OSX: https://www.javatpoint.com/how-to-install-python-on-mac
Install GCC to compile C programs:
https://linuxize.com/post/how-to-install-gcc-on-ubuntu-20-04/
Learning Python:
Where do I code?
So we normally enter code in applications called text editors. You might be familiar with the most common one - Notepad.
There are a lot of text editors available. Listed below is the most popular one
What is a CTF?
LiveOverflow - What is a CTF? - https://www.youtube.com/watch?v=8ev9ZX9J45A
LiveOverflow - How to learn hacking with CTFs - https://www.youtube.com/watch?v=Lus7aNf2xDg