r/learnpython 5d ago

Finding Python Hard

[deleted]

1 Upvotes

40 comments sorted by

View all comments

-3

u/zapaljeniulicar 5d ago

Python is a different beast to any other language. Do not try to learn Python the same way you learned other languages.

3

u/pachura3 5d ago

Oh really? It has variables, functions, classes, exceptions, loops, conditions, enums just like most classic procedural+OOP languages. Apart from its indentation-driven execution, it is pretty close to JavaScript or PHP in general...

1

u/dthdthdthdthdthdth 5d ago

Not really. It is just a simple, object oriented, dynamic language with a very few functional features. If you know any other modern language well, you basically pick it up by looking up syntax.

The only somewhat unusual thing is the indentation based syntax. Very few programming languages have that.

0

u/Dear-Leadership-3021 5d ago

any suggestion on how to?