- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Vikram Chiluka has Published 286 Articles
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
291 Views
In this article, we will learn a python program for a number of local extrema in an array. An extrema is an element that is either greater than or less than both of its neighbors. Assume we have taken an array containing n elements. We will now find the count ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
939 Views
In this article, we will learn a python program to interchange elements of the first and last rows in a matrix. Methos Used Using Temporary Variable(Using Nested Loops) Using Swapping(“, ”) Operator(Without Using Any Loops) Using pop(), insert() & append() functions Method 1: Using Temporary Variable(Using Nested Loops) ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
478 Views
In this article, we will learn a python program to interchange the diagonals of the matrix. Assume we have taken an NxN input matrix. We will now interchange the diagonals of an input matrix using the below methods. Methos Used The following are the various methods to accomplish this task ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
8K+ Views
In this article, we will learn how to remove the last element from the set in Python. Methods Used The following are the various methods to accomplish this task − Using the discard() function Using the remove() function Using the pop() function Using the list slicing Method 1: ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
983 Views
In this article, we will learn how to perform Accurate Decimal Calculations in Python. Methods Used Using the Decimal() function of the decimal Module Using the fsum() function of the math module The inability of floating-point numbers to accurately represent all base-10 numbers is a well-known drawback. ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
1K+ Views
In this article, we will learn Manipulating Pathnames using Python. Here are some different examples used mentioned below − Getting the main filename from the file path Getting the directory name from the file path Joining path components together Expanding the User's Home Directory Splitting the file ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
2K+ Views
In this article, we will learn how to iterate over the tuples in Dictionary in python. Methods Used The following are the various methods used to accomplish this task − Using Indexing Using dictionary.values() Method Using dictionary.items() Method Tuples are an immutable, unordered data type used to store ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
8K+ Views
In this article, we will learn a python program to get the file name from the file Path. Methods Used The following are the various methods to accomplish this task − Using the OS module functions Using Pathlib Module Using Regular expressions(regex module) Method 1: Using the OS ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
5K+ Views
In this article, we will learn how to get a negation of a Boolean in Python. In Python, the Boolean datatype is the built-in data type. It denotes the True or False values. For example, 520 is False. In this article, we will print the negation of a Boolean variable. ... Read More
![Vikram Chiluka](https://www.tutorialspoint.com/assets/profiles/495654/profile/60_4081994-1659334126.jpg)
Vikram Chiluka
965 Views
In this article, we will learn how to check if a string contains an element from a list in python. Methods Used Using Nested For Loops Using List Comprehension Using any() function Using the find() function Example Assume we have taken an input string and input list. ... Read More