Validate a password
Write a Python program to check a password: at least one lowercase letter, one uppercase letter, one digit, one of $ # @, and 5 to 15 characters...
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 check a password: at least one lowercase letter, one uppercase letter, one digit, one of $ # @, and 5 to 15 characters...
Write a Python program to print the first 11 Fibonacci numbers (0 to 55). Step-by-step explanation, colour-coded code and real output.
Write a Python program to print row i with the number i repeated i times, for i from 1 to 5, using nested...
Write a Python program to print an inverted right triangle of stars with 5 rows. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print a right triangle of stars with 5 rows. Step-by-step explanation, colour-coded code and real output.
Write a Python program to find the numbers from 0 to 100 divisible by 5. Step-by-step explanation, colour-coded code and real output.
Write a Python program to calculate the sum of all odd numbers from 1 to 100. Step-by-step explanation, colour-coded code and real output.
Write a Python program to calculate an electricity bill: first 50 units Rs 0.50, next 100 units Rs 0.75, next 100 units Rs 1.25, above 250 units Rs…
Write a Python program to calculate a bill: first 5 km at Rs 15/km, next 20 km at Rs 12/km, after that Rs...
Write a Python program that adds every character of an input string to an empty list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print a pyramid of stars with 5 rows (1, 3, 5, 7, 9 stars). Step-by-step explanation, colour-coded code and real output.
Write a Python program to print the letter 'A' with stars. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.