Tapas Kumar Ghosh has Published 150 Articles

Find the Common Keys from two Dictionaries in Python

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 14-Aug-2023 11:01:20

324 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. ... Read More

Convert Matrix to Custom Tuple Matrix in Python

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 14-Aug-2023 10:57:58

225 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(), ... Read More

How to Set Border of Tkinter Label Widget

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 14-Aug-2023 10:55:37

1K+ Views

In Python, Tkinter is GUI(Graphical User Interface) based library that accesses easier and faster ways to build the GUI application. The Tkinter Label Widget will be used to build the border that helps to improve the visibility of the user interface. A Tkinter Label Widget is such type of area ... Read More

How to Set up Multiple Subplots with Group Legends using Plotly in Python

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 14-Aug-2023 10:51:49

618 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 ... Read More

Maximum distance between two points in coordinate plane using Rotating Caliper’s Method

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 24-Jul-2023 10:10:32

96 Views

In C++ we have a predefined function sqrt that returns the square root of any number. The Rotating Caliper’s Method is the technique used to solve the algorithmic or computational geometry. Visual Representation of Rotating Caliper’s MethodThe hand rotation shows the real example of a rotating caliper graph, whenever the ... Read More

How to disable text selection highlighting using CSS?

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 21-Jul-2023 14:17:44

6K+ Views

In CSS we can use select property to disable the text selection highlighting. But to disable that text, we have to apply some properties in CSS so that the text can’t be selected or highlighted. Let’s take an example to understand the difference between highlighting vs non-highlighting text. Tutorialspoint ... Read More

Filter Non-None dictionary keys in Python

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 17-Jul-2023 18:26:27

200 Views

Python dictionary is one of the most popular data types among the following 4 datatypes. The dictionary defines the key with value pair and doesn’t allow the duplicate. The values are either strings or integers. Sometimes, while working on the dictionary it has some empty values that the None value ... Read More

How to Filter list elements starting with a given Prefix using Python?

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 17-Jul-2023 18:24:59

443 Views

The term prefix is defined by the beginning of the word or letter. In this article, we will learn how to use Python built-in functions like startswith(), filter(), lambda, and len() to Filter list elements starting with a given Prefix using Python. Let’s take an example to understand this ... Read More

Python - Filter odd elements from value lists in dictionary

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 17-Jul-2023 18:08:28

433 Views

The dictionary is a popular data type in Python that has a key with value pair and doesn’t allow duplicates. To filter the odd elements it has some built-in functions like items(), filter(), lambda, and, the list() will be used to Filter odd elements from value lists in the dictionary. ... Read More

Filter Range Length Tuples in Python

Tapas Kumar Ghosh

Tapas Kumar Ghosh

Updated on 17-Jul-2023 17:59:50

278 Views

A range length is defined by representing range of values that follow the start and end point along with the length. In Python, there are some built-in functions like list(), append(), filter(), and, lambda which can be used to solve the problem based on Filter Range Length Tuples. This type ... Read More

Previous 1 ... 4 5 6 7 8 ... 15 Next
Advertisements