Count letters and digits
Write a Python program that counts the letters and digits in a string. 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 that counts the letters and digits in a string. Step-by-step explanation, colour-coded code and real output.
Write a Python program that converts all uppercase letters in a word to lowercase, using a loop. Step-by-step explanation, colour-coded code and real output.
Write a Python program that prints 1 to 30, but "Fizz" for multiples of 3, "Buzz" for multiples of 5 and "FizzBuzz" for multiples of...
Write a Python program to print the Fibonacci series from 0 to 20. Step-by-step explanation, colour-coded code and real output.
Write a Python program that prints all the numbers from 0 to 6 except 3 and 6. Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the even and odd numbers in a series. Step-by-step explanation, colour-coded code and real output.
Write a Python program that adds each character of a word from the user to an empty string. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print a star pattern that grows from 1 to 5 stars and shrinks back to 1, using nested...
Write a Python program to find the numbers between 1500 and 2700 (both included) that are divisible by 7 and are multiples of...
Write a Python program to get all 10-digit mobile numbers from a string. Step-by-step explanation, colour-coded code and real output.
Write a Python program to extract all email addresses from a string. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print each character on its own line. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.