Letter T pattern
Write a Python program to print the letter 'T' with stars: two full rows of 9 stars and a 3-star stem in the...
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 print the letter 'T' with stars: two full rows of 9 stars and a 3-star stem in the...
Write a Python program that reads text and adds each digit to an empty list as a number. Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the odd numbers from 1 to 100. Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the even numbers from 1 to 100. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print the multiplication table of a number. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print the first n terms of the Fibonacci series. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print all perfect numbers from 1 to n. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a number is perfect: the sum of its factors (excluding itself) equals the number, like 28 = 1 + 2 +…
Write a Python program to print all Armstrong numbers from 1 to n. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a number is an Armstrong number (153 = 1³ + 5³ + 3³) using a...
Write a Python program to find all prime factors of a number. Step-by-step explanation, colour-coded code and real output.
Write a Python program to find the sum of all prime numbers from 1 to n. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.