Prime numbers in a list
Write a Python program to get the prime numbers from a list. 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 prime numbers from a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the vowels in a list of words. Step-by-step explanation, colour-coded code and real output.
Write a Python program to get the palindrome numbers from a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to reverse the digits of every number in a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to get the Fibonacci numbers between 1 and 20. Step-by-step explanation, colour-coded code and real output.
Write a Python program to get the factorial of each item in a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to remove duplicate strings from a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to insert an element before each element of a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to remove duplicate tuples from a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to create a list from every second item. Step-by-step explanation, colour-coded code and real output.
Write a Python program to keep only the sublists that appear once. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether all elements of a list are unique. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.