Words that contain vowels
Write a Python program to get the words of a string that contain at least one vowel. Step-by-step explanation, colour-coded code and real output.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Write a Python program to get the words of a string that contain at least one vowel. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a list reads the same forwards and backwards. Step-by-step explanation, colour-coded code and real output.
Write a Python program to get all elements divisible by both 3 and 7. Step-by-step explanation, colour-coded code and real output.
Write a Python program to remove negative values from a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to remove the 1st, 3rd and 6th elements of a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program that returns True if two lists have at least one common member. Step-by-step explanation, colour-coded code and real output.
Write a Python program to copy a list so that changing the copy does not change the original. Step-by-step explanation, colour-coded code and real output.
Write a Python program to reverse a list with `reversed()` and with `reverse()`. Step-by-step explanation, colour-coded code and real output.
Write a Python program to reverse a list using slicing. Step-by-step explanation, colour-coded code and real output.
Write a Python program to reverse a list using a while loop. Step-by-step explanation, colour-coded code and real output.
Write a Python program to reverse a list using a for loop. Step-by-step explanation, colour-coded code and real output.
Write a Python program to get the common elements of two lists, in the order of the first list. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.