
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
6K+ Views
When it is required to concatenate multiple tuples, the '+' operator can be used. A tuple is an immutable data type. It means, values once defined can't be changed by accessing their index elements. If we try to change the elements, it results in an error. They are important contains ... Read More

AmitDiwan
134 Views
When it is required to remove similar element rows in a tuple matrix, the list comprehension and the 'all' method can be used.The list comprehension is a shorthand to iterate through the list and perform operations on it.The 'all' method checks to see if all the values inside an iterable ... Read More

AmitDiwan
427 Views
When it is required to convert an N*N tuple into a matrix, a simple loop and the * operator can be used.The * operator can be used to get the product of two values. It can also be used to multiple a single value multiple times and display it on ... Read More

AmitDiwan
1K+ Views
When it is required to remove duplicates from a tuple, the list comprehension is used.A list can be used to store heterogeneous values (i.e data of any data type like integer, floating point, strings, and so on).A list of tuple basically contains tuples enclosed in a list.The list comprehension is ... Read More

AmitDiwan
106 Views
When it is required to record similar tuple occurrences, the 'map' method, the 'Counter' method and the 'sorted' method can be used.A list can be used to store heterogeneous values (i.e data of any data type like integer, floating point, strings, and so on). A list of tuple basically contains ... Read More

AmitDiwan
318 Views
When it is required to find the maximum difference between tuple pairs, the 'max' method and the list comprehension can be used.A list can be used to store heterogeneous values (i.e data of any data type like integer, floating point, strings, and so on). A list of tuple basically contains ... Read More

AmitDiwan
3K+ Views
When it is required to repeat a tuple 'N' times, the '*' operator can be used. A tuple is an immutable data type. It means, values once defined can't be changed by accessing their index elements. If we try to change the elements, it results in an error. They are ... Read More

AmitDiwan
1K+ Views
When it is required to test if a tuple has distinct elements in it, the 'set' method and the 'len' method can be used.Python comes with a datatype known as 'set'. This 'set' contains elements that are unique only.The 'len' method gives the length of the parameter passed to it.Below ... Read More

AmitDiwan
450 Views
When it is required to filter tuples based on the list element that is present, list comprehension can be used.A list can be used to store heterogeneous values (i.e data of any data type like integer, floating point, strings, and so on).A list of tuple basically contains tuples enclosed in ... Read More

AmitDiwan
2K+ Views
When it is required to sum the elements present in a list of tuple, the 'map' method and the 'sum' method can be used.A list can be used to store heterogeneous values (i.e data of any data type like integer, floating point, strings, and so on).A list of tuple basically ... Read More