- 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 288 Articles
Vikram Chiluka
854 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
Vikram Chiluka
1K+ Views
In this article, we will learn a python program to convert the string elements to uppercase for the given selective indices. Methods Used The following are the various methods to accomplish this task − Using For Loop and upper() function Using List Comprehension Using index() & join() functions ... Read More
Vikram Chiluka
2K+ Views
In this article, we will learn how to check if any set element exists in the list in python. Methods Used Using any() function Using Bitwise & operator Using Counter(), filter() and lambda functions Example Assume we have taken an input set and input list. We will now ... Read More
Vikram Chiluka
2K+ Views
In this article, we will learn how to split a string by custom lengths in python. Methods Used The following are the various methods to accomplish this task − Using for loop and slicing Using List Comprehension, join() and next() functions Example Assume we have taken an input ... Read More
Vikram Chiluka
1K+ Views
In this article, we will learn a python program to sort a list of names by last name. Methods Used Using lambda and sorted() functions Using lambda and sort() functions Example Assume we have taken an input list containing string elements. We will now sort the list elements ... Read More
Vikram Chiluka
277 Views
In this article, we will learn how to replace all words except the given word in a string in python. Methods Used The following are the various methods to accomplish this task − Using For Loop, split() & join() Functions Using List Comprehension Example Assume we have ... Read More
Vikram Chiluka
660 Views
In this article, we will learn how to remove numbers with repeating digits in python. Methods Used The following are the various methods to accomplish this task − Using list comprehension and set() function Using re module Using the Counter() function Example Assume we have taken an input ... Read More
Vikram Chiluka
388 Views
In this article, we will learn a python program to remove K-length words in String. Methods Used The following are the various methods to accomplish this task − Using split(), join(), len() and list comprehension Using filter(), lambda(), split() and len() functions Using split(), join(), remove() and len() functions ... Read More
Vikram Chiluka
221 Views
In this article, we will learn how to remove all digits before a given number in python. Methods Used The following are the various methods to accomplish this task − Using List Comprehension, split(), enumerate() & index() Functions Using re module Using slicing, index() & replace() functions Example ... Read More
Vikram Chiluka
744 Views
In this article, we will learn how to convert characters to uppercase in Strings Randomly using python. Methods Used The following are the various methods to accomplish this task − Using join(), choice(), lower(), upper() functions. Using random.randInt() and random.sample() functions. Using map(), choice(), zip() functions Example Assume ... Read More
To Continue Learning Please Login
Login with Google