Tuples represent an immutable data structure that can be used to store an ordered sequence of data.
Once you initialize them, you cannot change their values.
Let’s see an example of a tuple:
Continue readingSoftware engineering and personal development
Tuples represent an immutable data structure that can be used to store an ordered sequence of data.
Once you initialize them, you cannot change their values.
Let’s see an example of a tuple:
Continue readingWhen you are about to use dictionaries, you may have cases when you try to access elements using keys that are not part of the dictionary.
Let us see the following example:
Since the key “age” is not in there, an error will be thrown.
Continue reading© 2024 Fatos Morina
Theme by Anders Noren — Up ↑