Duplicate characters
Write a Python function that returns the characters that appear more than once. 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 function that returns the characters that appear more than once. Step-by-step explanation, colour-coded code and real output.
Write a Python function to get the unique values of a list in order. Step-by-step explanation, colour-coded code and real output.
Write a Python function that checks whether any two numbers in a list add up to 10. Step-by-step explanation, colour-coded code and real output.
Write a Python function that returns the first n Fibonacci numbers starting 1, 1. Step-by-step explanation, colour-coded code and real output.
Write a Python function to get the factorial of a number. Step-by-step explanation, colour-coded code and real output.
Write a Python function that accepts any number of numbers with `*args` and prints their cubes. Step-by-step explanation, colour-coded code and real output.
Write a Python function to find the HCF of two numbers. Step-by-step explanation, colour-coded code and real output.
Write a Python function to calculate the sum of numbers from 0 to 10. Step-by-step explanation, colour-coded code and real output.
Write a Python function to find the LCM of two numbers. Step-by-step explanation, colour-coded code and real output.
Write a Python program that defines and uses a function inside another function. Step-by-step explanation, colour-coded code and real output.
Write a Python function that executes Python code stored in a string. Step-by-step explanation, colour-coded code and real output.
Write a Python function that creates and prints a list of the squares of 1 to 10. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.