Assign grades from marks
Write a Python program to assign a grade from total marks: below 40 Fail, 40-49 C, 50-59 B, 60-69 A, 70-79 A+, 80-89 A++, 90-100 Excellent, anything else...
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 assign a grade from total marks: below 40 Fail, 40-49 C, 50-59 B, 60-69 A, 70-79 A+, 80-89 A++, 90-100 Excellent, anything else...
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...
Take free timed mock tests with answers and explanations.