#python
Read more stories on Hashnode
Articles with this tag
Python is a dynamically typed language, meaning you do not need to specify the type of variables, parameters or return values. This is determined...
A function or a method can accept both positional and keyword arguments and that's you who decide whether a function/method will accept positional or...
Databases are crucial for storing and managing data. In this article, you'll learn to create and interact with MySQL database in Python. Installing...
When you read the documentation of some functions you see a slash (/) and an asterisk (*) passed in the function definition. Why are they passed in a...
You might have encountered functions or classes decorated with functions prefixed with "@", for example, @random. These are known as decorators as...
To return a value from a Python function, you must have used the return keyword. When the program encounters the return keyword, it exits the function...