Imo it's fun because the syntax is pretty straightforward which makes it easier to pickup for beginners and grasp the basics of programming language like if you want to print Hello World you simply say:
And for doing the same thing in java you have to first make a class then main function and then write:
Secondly I love how you don't have to deal with those brackets while using loops and if else statements and how indentation works so perfect.
Plus there are countless libraries in python by importing which we could do so much complicated stuff easily.
Because it is dynamically typed language,unlike the c,Java where u have to declare variables and lots more.and also for it's rich library packages and by writing a fewer lines of code you can do the same task of c,c++ where it takes more line codes,and also for it's easy syntax.
I‘d say it‘s mainly because it hardly feels like a programming language, but more like a normal language:
• sorting a list:
• Creating a function:
The syntax and functions are focused on readability rather than performance. Read more about it here:
You also don‘t need to compile any code to run it and there are many libraries (called modules) you can use to avoid any complicated stuff.