
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 26504 Articles for Server Side Programming

1K+ Views
The group in Python is defined by sets or collections of element that have the same characteristics based on specific conditions or operations. The group can be represented by lists, sets, or other data structures. In this problem statement, the non−zero group refers subset of the list where all the elements are non−zero and adjacent to each other without any zero value in between. In Python, we have some built−in functions like list(), groupby(), lambda, etc. will be used to solve the minimum of non−zero groups. Syntax The following syntax is used in the examples list() list() is a ... Read More

649 Views
The term invoking function refers to recursion which means the function calls itself. The function with parenthesis defines some parameter to work on specific conditions and operations whereas without parenthesis function refers to a function reference. In Python, we have two types of methods such as function reference and function with parameter that will be used to solve the Invoking function with and without Parenthesis. Syntax The following syntax is used in the examples def function_name(): -------- -------- function_name() This is the representation of function with parenthesis. def function_name(): -------- -------- reference = function_name print("The function reference:", reference) ... Read More

380 Views
The Index Mapping Cypher is defined by passing the integer string to get the specific string. In Python, we have some built−in functions such as str(), len(), join(), and, int() will be used to solve the problem based on Index Mapping Cypher. Let’s take an example to understand this: The given string, my_str = “Hyderabad” The given index, idx = 101456 The final result becomes yHyrab Syntax The following syntax is used in the examples- str() This is a built−in function in Python that accepts any value to convert it into string. len() This is a built−in method ... Read More

2K+ Views
In Python, we have some built−in functions like str(), replace(), split(), strip(), and, len() that will be used to solve Interconvert Horizontal and vertical String. Python allows us to convert strings between horizontal and vertical instructions with simple steps by improving readability, formatting, text manipulation, visual creativity, and programming applications. Syntax The following syntax is used in the examples- str() This is an in−built function in Python that converts the value to a string. It prints the value as a string. replace("", "") The replace is a built−in method in Python that accepts two parameters− and "" ... Read More

488 Views
Python has a variety of built-in methods to modify and analyze the text, that contains to find the specific element within them. To solve this problem statement it will use some built-in functions like next(), filter(), and, lambda to find the first even element from the list. The various applications are- data filtering tools, and, content filtering tools. Let’s see how to take the input of the program to get the result: The given list, List_1 = [21, 33, 12, 11, 61, 78] The final result becomes 12 because it is the first even number from the list. Syntax The ... Read More

1K+ Views
The dictionary is one of the four data types in Python that doesn’t allow any key duplicates. In this problem statement, we have to create two dictionaries as user input and check the matches for a common key. If key elements are found as common then it prints the result. This can be possible by using various methods in Python such as type(), items(), set(), etc. Let’s take an example of this: Input: A = { ‘I’: 10, ‘II’: 20, ‘III’: 30, ‘IV’:40 } B = { ‘II’: 40, ‘V’: 60, ‘VI’: 80, ‘I’: 90 } Output: { ‘I’, ‘II’ ... Read More

519 Views
In Python, a tuple is one of the four built−in data types that is used to collect the data and this data is represented by round parenthesis i.e.(). Tuple is generally known for multiple collections of items into a single item. In Python, we have some built−in functions like map(), tuple(), and, lambda will be used to Convert Matrix to Custom Tuple Matrix. The custom tuple matrix is defined by a subclass of a tuple that has elements and it is separated by a comma to create the sublist(list represents matrix). Let’s take an example of this: Original Matrix: ... Read More

1K+ Views
The multiple subplots are defined by assigning different graph plots. Plotly is a powerful Python library for creating interactive visualizations for data research and presentation. Its capacity to put up multiple subplots, that are independent plots placed within a single figure, is one of its primary characteristics. This feature allows us to compare and display various datasets or variables side by side, giving us a simple overview of the data. In Python, we have some built−in functions− add_trace, update_layout, and, show which can be used to set up multiple subplots with group legends using Plotly in Python. Syntax The ... Read More

1K+ Views
Python offers a wide range of data structures to efficiently organize and manipulate data. When it comes to handling sorted data, sorted containers play a crucial role. Sorted containers are data structures that maintain the elements in a sorted order, providing fast access, insertion, and deletion operations. They offer an effective solution for scenarios where maintaining a sorted order is essential. In this blog post, we will explore the world of Python sorted containers and understand their significance in various applications. We will delve into the different types of sorted containers, such as sorted lists, sorted sets, and sorted dicts, ... Read More

334 Views
Data visualization plays a crucial role in understanding and communicating patterns, trends, and insights from data. Python, with its rich ecosystem of libraries, offers powerful tools for creating visually appealing and informative plots. Seaborn, a popular data visualization library built on top of Matplotlib, provides a high-level interface for creating beautiful statistical graphics. In this article, we will explore one of Seaborn's versatile plot types - the strip plot. Strip plots are useful for visualizing the distribution of a continuous variable against a categorical variable. They display individual data points along an axis, making it easy to observe patterns, clusters, ... Read More