Numbers from 1 to 30 divisible by 3
Write a Python program to print all the numbers from 1 to 30 that are divisible by 3. 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 print all the numbers from 1 to 30 that are divisible by 3. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a given number is divisible by 3. Step-by-step explanation, colour-coded code and real output.
Write a Python program to print the letters a to y in rows of 1, 3, 5, 7, 5, 3, 1 letters. Step-by-step explanation, colour-coded code and real…
Write a Python program to print the letters A to Y in rows of 1, 2, 3, 4, 5, 4, 3, 2, 1 letters. Step-by-step explanation, colour-coded code…
Write a Python program to find the largest number in a list using a loop. Step-by-step explanation, colour-coded code and real output.
Write a Python program to copy elements from one list into an empty list and print them in descending...
Write a Python program to sort a list using loops (without `sort()`). Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the special characters in a file. Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the uppercase letters in a file. Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the digits in a file. Step-by-step explanation, colour-coded code and real output.
Write a Python program to count the characters in a file (letters, digits, punctuation and spaces, not counting...
Write a Python program to print 1 to 10 but stop when the number is 6, using a for loop. Step-by-step explanation, colour-coded code and real output.
Take free timed mock tests with answers and explanations.