Is there a website to learn coding, like for minecraft modding or something?

Is there a website to learn coding, like for minecraft modding or something?

Yes there's

There are lots of websites to learn how to create computer programs.

You can learn coding in 2 seconds.

Here is a complete Python2 program:
print "Hello World"

OK, now you know coding.

If you want to learn more about Python:
http://www.greenteapress.com/thinkpython/html/
http://docs.python.org/2/tutorial/index.html
http://www.tutorialspoint.com/python/
http://learnpythonthehardway.org/book/

I was a programmer analyst for 25 years. I have seen Minecraft. I have no idea what "modding" is.