Creativity!
When you learn programming or scripting, there are countless things you can create. You can create many, many things, and your ideas could spark something new! It's all about creativity, and what you can create using not only your programming/scripting knowledge; but also your imagination.
Interactivity!
Programming/scripting is all about making your programs (or scripts) interactive, and working on how the user can interact with it. Interaction makes your creations easy to use by others, creating interactive applications is also a lot of fun for you!
Data!
Lots of coding actually revolves around data and numbers, this means that as well as learning to create programs/scripts, and learning the concepts of programming/scripting, it can actually help you with mathematics and general logic!