Using for loops when iterating through 2 lists that have different lengths can be error-prone, especially when the lengths of these lists can change with time.
Let us see an example to see when that happens:
Continue readingSoftware engineering and personal development
Using for loops when iterating through 2 lists that have different lengths can be error-prone, especially when the lengths of these lists can change with time.
Let us see an example to see when that happens:
Continue readingYou have probably seen cases when you can do splits of strings into multiple parts based on a pattern that is observed in the string. For example, let us say that we want to save all the words that are part of a sentence.
To do that, we usually try to do split the sentence into words based on the spaces that we find, such as:
Continue reading© 2024 Fatos Morina
Theme by Anders Noren — Up ↑