Tag: Python

coding challenge

[Google Coding Question] How many Managers are Paid Less than the Average Salary

Google Coding Question | Given a company tree, calculate how many managers are paid less than the average salary of their direct and indirect employees.

Python

How to Check if Pandas DataFrame is Empty?

How to Check if Pandas DataFrame is Empty? Detect if the DataFrame has zero number of rows…

Python

Python “Hello, World!” Program Explained

Python “Hello, World!” Program Explained. What is the use of print function in Python? What you can do with Python print function.

Python

Print Ganesha Pattern Program In Python

Write a simple program to print Ganesha pattern in Python.

Python

Python Function Fundamentals Explained with Code Examples

Python function fundamentals explained with example, def, return multiple values, scope of the function, etc…

Python

Call by Value vs Call by Reference in Python | Explained with Code Example

Difference explained with coding example | Call by Value vs Call by Reference in Python.

Python

Complete Python Programming Tutorial

Complete Python tutorial for beginners explained with basic syntax and example code…

Python

Difference between except and except Exception as exc | Which one to use?

What is the major difference between except and except Exception as exc? What is the Best practice to use exceptions?

Python

[Solved] Sum of Diagonal Elements in Matrix in Python Code

How to find the sum of diagonal elements in matrix in Python code. Asked in coding interview.