Python is an easy language, but what I hate about it is the indentation restrictions. Syntax is hard at first, but it gets easier.
1 thought on “Python for the first time”
Leave a Reply
You must be logged in to post a comment.
Python is an easy language, but what I hate about it is the indentation restrictions. Syntax is hard at first, but it gets easier.
You must be logged in to post a comment.
After writing a good amount of code in python, the indentation scheme started to make sense to me. For instance, if you want something to be inside a for loop or and if statement it has to be inside it, e.g
for …
// do smthn
if …
// do smthn
so just by looking at the code, we can know what is inside what. It even effected the way I write code in C++, now I use indentation to know whats going on.