
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 33676 Articles for Programming

380 Views
Lists in Python are ordered collections that store and manipulate a sequence of elements. In this article, we are going to learn alternate cycling in Python. It is used when we need to work with the alternate element, instead of processing every element in the list.Alternate cycling is the process of accessing or iterating through list elements by skipping elements in a fixed pattern. Following is an example scenario - Scenario Input:[1, 2, 3, 4, 6] Output:[1, 3, 5] Explanation: In this case, the alternate cycling starts from the index 0 and skips the next ... Read More

1K+ Views
Are you prepared to put your word aptitudes to the test? The Jumbled Word Game is here to challenge your ability to unscramble letters and form meaningful words. Get ready to jumble and unravel words as you lock in this engaging and brain-teasing amusement. Jumbled word games are a fun way to challenge your vocabulary aptitudes and improve your problem-solving capacities. In this article, we'll learn how to execute a jumbled word game utilizing Python programming language. We'll investigate three diverse approaches to unravel the diversion, each with its possess calculation and code execution. Approach 1: Randomizing Letters The ... Read More

183 Views
Data manipulation and examination are principal tasks in any programming language. Python, with its straightforwardness and flexibility, gives effective devices for dealing with and transforming data. One common operation is the union of records, where we combine numerous datasets to form a single comprehensive dataset. In this article, we'll investigate three approaches to attaining record union in Python, highlighting their calculations, syntax, and steps included. We are going to give code examples with outputs to illustrate the adequacy of each approach. So let's jump in! Records Union Python - Records Union refers to the process of combining multiple datasets ... Read More

580 Views
Checking copies in a list of tuples could be a common errand in information investigation and information preparation. Python gives a few approaches to effectively check the events of tuples in a list. In this article, we'll investigate diverse calculations and their executions to check copies in a list of tuples utilizing Python. We'll cover three approaches: employing a lexicon, the Counter class from the collections module, and leveraging the control of Pandas DataFrames. Understanding these approaches will empower you to viably analyze the recurrence dispersion of information and pick up bits of knowledge from your datasets. Advantages of Python ... Read More

367 Views
In school or college, working with the leap years would be tricky. In case, when we want to find whether the given year is a leap year or not, the simple method is to divide it by four. When the leap year is divisible by 4 and 100, it is a leap year and otherwise, it is not. When the user is given a list of years ranging from 10 to 100, then it is a tedious process and consumes so much time. In that situation, Python comes into the track with simple codes. To print the number of leap ... Read More

339 Views
The Python language is primarily composed of different data structures and from it the list data structure is the most used one. The lists can hold elements of different data types and when they are assigned with some values they cannot be changed. The lists can even hold other lists within the square brackets “[]”. When two lists are defined to work on some platform, there may be some relations between them, and using this code the Python program makes it possible. Printing common elements in the sublist Let’s assume a list containing 10 elements and it can also be ... Read More

398 Views
When working with settled records in Python, there are circumstances where we have to expel all events of a particular component. Whether it's sifting undesirable information or simplifying complex structures, evacuating components from settled lists could be a common assignment. In this article, we'll investigate distinctive approaches to realize this objective. We'll talk about calculations, step-by-step methods, and give Python sentence structure cases for each approach. By understanding these procedures, you'll pick up the capacity to productively control settled records in Python and tailor them to suit your particular needs. Advantages of Removing all occurrences in nested list Straightforwardness and ... Read More

957 Views
Python language comes with different varieties of data structures and in this article, it deals with the list data structure. In lists, the elements are arranged in some order and they can undergo various methods for checking the whitespace or spaces. The elements inside the list can be a string or an empty string, it can also be a tab inside the string or any one space. Among the various methods given below, isspace() function is considered an easier one. Approach Approach 1 − Using the “re” module Approach 2 − Using the iteration method Approach 3 − Using ... Read More

324 Views
Raising a special case to another exemption in Python includes the method of capturing and handling an original special case, and after that raising a new exception that includes an extra setting to the initial one. This procedure permits designers to adjust or wrap special cases, giving way better blunder dealing with and more enlightening mistake messages. By combining distinctive exemptions, making compound exemptions, or utilizing the 'from' keyword, software engineers can improve the strength and unwavering quality of their code by precisely passing on the nature of uncommon circumstances. Understanding these approaches empowers engineers to viably handle and oversee ... Read More

267 Views
In this article, we are going to find the different ways to find the frequency of numbers present in an array []. These methods are very useful in doing competitive programming for different problems for different cases. Sometimes, calculating the frequency of elements whether it is numbers or alphabets presented in the array is a complicated task. Various algorithms like Searching, array, divide and conquer can be used to find the repeated elements defined in the array. Note- Take an integer array. Let's explore the article, to know how it can be solved by using Java programming ... Read More