Instructions that a python interpreter can execute are called statements. There are many types of statements in python like assignment
Continue readingCategory: Python
Python Function Arguments
In the article Python Functions, we learned how to define the user-defined functions and use them. Let’s see an example
Continue readingPython File I/O
Python allows file handling and supports reading, and writing along with some other operations in a file. In Python, every
Continue readingAnonymous/Lambda Functions in Python
Introduction: Generally, in python, we get names for functions, but anonymous functions are defined without a name. We use the
Continue readingPython Strings
Strings are collections of characters or we can consider them as a word or characters collected together. Strings can also
Continue readingPython Modules
A file containing Python definitions and statements is called a Python Module. A Module can have functions, classes, variables, and
Continue readingstrptime() in Python
What is a strptime in Python? strptime() function is used to convert a given string into datetime. This function is
Continue readingPython Global Keyword
Global keyword : Global keyword allows for modifying the variable outside of its current scope. global keyword allows modifying the
Continue readingPython Dictionary
Python Dictionary Python dictionary is an unordered collection of key-value pairs. The use of key-value pairs in the dictionary makes
Continue readingRecursion in Python
Recursion is the process when a function calls itself under some conditions to perform a task repeatedly. The condition under
Continue reading