Author image

Nicholas Samuel

12 posts Kenya
I am a programmer by profession. I am highly interested in Python, Java, Data Science and Machine learning. If you need help in any of these, don't hesitate to contact me: [email protected]

Python Nested Functions

What is a Nested Function?

Functions are one of the "first-class citizens" of Python, which means that functions are at the same level as other Python objects like integers, strings, modules, etc. They can be created and destroyed dynamically, passed to other functions, returned as values, etc.

Python supports the

Continue Reading

Lists vs Tuples in Python


Lists and tuples are two of the most commonly used data structures in Python, with dictionary being the third. Lists and tuples have many similarities. Some of them have been enlisted below:

  • They are both sequence data types that store a collection of items
  • They can store items of
Continue Reading