SQA Tools Blog

Learn testing and automation, one article at a time

Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.

1,677Articles
1,141Solved Python problems
7Topics
100%Free

Latest articles

1,677 articles · page 113 of 140
Python practice

Check if a value is a float

Write a Python program to check whether a given value is a float. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check if a value is an integer

Write a Python program to check whether a given value is an integer. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check a lowercase character

Write a Python program to check whether a character is lowercase. Step-by-step explanation, colour-coded code and real output.

1 min readRead →

Check an uppercase character

Write a Python program to check whether a character is uppercase. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Larger of two numbers

Write a Python program to print the larger of two numbers. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Positive or negative, even or odd

Write a Python program to check whether a number is positive or negative and even or odd. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check if a number is negative

Write a Python program to check whether a number is negative and print True or False. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check if a number is positive

Write a Python program to check whether a number is positive and print True or False. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Pass or fail

Write a Python program that reads marks and prints Pass if they are greater than 35, otherwise...

1 min readRead →
Python practice

Check a palindrome string

Write a Python program to check whether a string is a palindrome, ignoring case. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check a palindrome number

Write a Python program to check whether a number is a palindrome. Step-by-step explanation, colour-coded code and real output.

1 min readRead →
Python practice

Check voting eligibility

Write a Python program to check whether a person is eligible to vote (age 18 or above). Step-by-step explanation, colour-coded code and real output.

1 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.