Discount on a bill
EasyIf-Else Programs · 52 of 64A shop gives 20% off bills above 2000 and 10% off bills above 1000. Write a Python program to calculate the…
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
EasyIf-Else Programs · 52 of 64A shop gives 20% off bills above 2000 and 10% off bills above 1000. Write a Python program to calculate the…
Write a Python program that takes the length and breadth of a rectangle and checks whether it is a...
EasyIf-Else Programs · 50 of 64Write a Python program that gives a 10% bonus to employees who have served more than 4 years.Input(5 years, salary 60000),…
Write a Python program that splits 1-100 into 10 groups (1-10, 11-20, ... 91-100) and finds which group a number belongs to, using nested...
Write a Python program to check whether a person can ride a roller coaster: eligible when age is greater than...
Write a Python program to check whether a value is a dictionary. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a value is a list. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a value is of boolean type. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a value is of complex type. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether two numbers are equal. Step-by-step explanation, colour-coded code and real output.
Write a Python program to check whether a number is the cube of 3, and in general whether it is a perfect...
Write a Python program to check whether a number is the square of 6, and in general whether it is a perfect...
Take free timed mock tests with answers and explanations.