Print the current date in a format
Write a Python program to print the current date in the format "2023 Jan 05" (year, short month name, day) using the datetime...
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 current date in the format "2023 Jan 05" (year, short month name, day) using the datetime...
Write a Python program to calculate simple interest. Simple interest = P × R × T / 100, where P is the principal, R the yearly rate in…
Write a Python program to check whether a number is an Armstrong number: the sum of its digits, each raised to the power of the number of digits,…
Write a Python program to calculate the surface area of a cylinder. Area = 2πrh + 2πr². Step-by-step explanation, colour-coded code and real output.
Write a Python program to calculate the surface area of a cube. Surface area = 6 × a². Step-by-step explanation, colour-coded code and real output.
Write a Python program to calculate the area of a circle. Area = π × r². Step-by-step explanation, colour-coded code and real output.
Write a Python program to calculate the area of a square. Area = side × side. Step-by-step explanation, colour-coded code and real output.
Write a Python program to solve the formula (a - b)³ = a³ - 3a²b + 3ab² - b³. Step-by-step explanation, colour-coded code and real output.
Write a Python program to solve the formula (a + b)³ = a³ + 3ab(a + b) + b³. Step-by-step explanation, colour-coded code and real output.
Write a Python program to solve the formula a² - b² = (a - b)(a + b). Step-by-step explanation, colour-coded code and real output.
Write a Python program to solve the formula (a - b)² = a² + b² - 2ab. Step-by-step explanation, colour-coded code and real output.
Write a Python program to solve the formula (a + b)² = a² + b² + 2ab and show both sides are equal. Step-by-step explanation, colour-coded code and…
Take free timed mock tests with answers and explanations.