Lazy Programming Series – *ARGS AND **KWARGS in Python
*args and **kwargs are special syntax in Python used for function definitions, allowing you to pass a variable number of...
Lazy Programming Series – Challenge – 5
Challenge 5: Rock Paper Scissors Game Development: Rock Paper Scissors Overview: “Rock Paper Scissors” is a classic hand game typically...
Lazy Programming Series – External & Built-in Modules | F-Strings & string format in Python
External & Built-in Modules in Python Python provides a rich ecosystem of both built-in modules and external libraries (also known...
Lazy Programming Series – Anonymous Lambda function in Python
Anonymous Lambda function in Python: In Python, anonymous functions are created using the lambda keyword. They are also known as...
Lazy Programming Series – Global , Local & nonlocal Scope
In Python, the term “scope” refers to the region of a program where a particular variable is accessible. Python has...
Lazy Programming Series – Challenge – 4
Challenge – 4 Problem Statement: Develop a Business Management System capable of handling assignments and projects for three clients, namely...
Lazy Programming Series – Seek() & tell() method & With Block to open python files
In Python, seek() and tell() are methods used for file manipulation. They are primarily used when reading from or writing...
Lazy Programming Series – Challenge – 3
Challenge – 3 Problem Statement: Develop a Python program that generates a pattern of stars based on user input. The...
Lazy Programming Series – try and except & File I/O (Input/Output) in Python
In Python, try and except blocks are used for exception handling. Exception handling allows you to gracefully manage errors or...
Lazy Programming Series – Shorthand If-else notation & Docstrings
In Python, you can use a shorthand if-else notation called a ternary conditional operator. It has the following syntax: Here’s...