
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
AmitDiwan has Published 10744 Articles

AmitDiwan
3K+ Views
When it is required to perform tuple division in Python, the 'zip' method and generator expressions can be used.The zip method takes iterables, aggregates them into a tuple, and returns it as the result.Generator is a simple way of creating iterators. It automatically implements a class with '__iter__()' and '__next__()' ... Read More

AmitDiwan
410 Views
When it is required to perform 'XOR' operations on the elements of one tuple, the 'zip' method and the generator expression can be used.The zip method takes iterables, aggregates them into a tuple, and returns it as the result.Generator is a simple way of creating iterators. It automatically implements a ... Read More

AmitDiwan
303 Views
When it is required to raise the elements of one tuple, as a power of another tuple, the 'zip' method and the generator expression can be used.The zip method takes iterables, aggregates them into a tuple, and returns it as the result.Generator is a simple way of creating iterators. It ... Read More

AmitDiwan
1K+ Views
When it is required to concatenate two string tuples, the 'zip' method and the generator expression can be used.The zip method takes iterables, aggregates them into a tuple, and returns it as the result.Generator is a simple way of creating iterators. It automatically implements a class with '__iter__()' and '__next__()' ... Read More

AmitDiwan
398 Views
When it is required to get the minimum different in a tuple pair from a list of tuples, it can be done using the 'min' method and the list comprehension.The list comprehension is a shorthand to iterate through the list and perform operations on it. The 'min' method returns the ... Read More

AmitDiwan
279 Views
When it is required to get the maximum of 'N'th column from a list of tuples, it can be done using list comprehension and 'max' method.The list comprehension is a shorthand to iterate through the list and perform operations on it. The 'max' method returns the maximum of values among ... Read More

AmitDiwan
247 Views
When it is required to find the minimum 'k' records from a list of tuples, it can be done using the 'sorted' method and lambda function.The 'sorted' method is used to sort the elements of a list. Anonymous function is a function which is defined without a name.In general, functions ... Read More

AmitDiwan
357 Views
If it is required to find the maximum of the similar indices in two list of tuples, the 'zip' method and list comprehension can be used.The list comprehension is a shorthand to iterate through the list and perform operations on it.The zip method takes iterables, aggregates them into a tuple, ... Read More

AmitDiwan
177 Views
If it is required to check if a tuple contains a specific value 'K', it can be done using the 'any' method, the 'map' method and the lambda function.Anonymous function is a function which is defined without a name. In general, functions in Python are defined using 'def' keyword, but ... Read More

AmitDiwan
378 Views
If it is required to get the combinations of sum with respect to tuples in a list of tuples, the 'combinations' method and the list comprehension can be used.The 'combinations' method returns 'r' length subsequence of elements from the iterable that is passed as input. The combinations are shown in ... Read More