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 140 of 140
Python practice

Python Tuple Programs with Solutions

70 Python tuple programs with solutions: create, index, unpack, sort lists of tuples, convert to list, dict and string, and more, each explained.

7 min readRead →
Python practice

Python File Handling Programs with Solutions

38 Python file handling programs with solutions: read, write, append, count words and lines, copy, compare, seek and tell, each explained step by step.

4 min readRead →
Python practice

Python If-Else Programs with Solutions

64 Python if-else practice programs with solutions: grades, leap year, vowels, triangles, discounts, bills and more, each explained line by line.

8 min readRead →
Python practice

Python Basic Programs with Solutions

40 Python basic programs for beginners with solutions: arithmetic, formulas, area, interest, factorial, prime, palindrome and more, each explained.

5 min readRead →
Python practice

Read File In Python

To read file content user has to open file in read mode and read entire content of file with read() method. Python open() method which required two parameter.

1 min readRead →
Python practice

Python Loop Programs with Solutions

90 Python loop programs with solutions: number series, digits, primes, Armstrong and perfect numbers, star and alphabet patterns, files and lists.

10 min readRead →
Python practice

Python Function Programs with Solutions

39 Python function programs with solutions: return values, *args, prime, factorial, Fibonacci, LCM, HCF, shop and library systems, each explained.

4 min readRead →
Python practice

Python Dictionary Programs with Solutions

94 Python dictionary programs with solutions: add, merge, sort by value, count, group, invert, nested dicts and lists of dicts, each explained.

10 min readRead →
Python practice

Python List Programs with Solutions

100 Python list programs with solutions: sum, max, reverse, duplicates, sorting, sublists, flatten, zip and more, each explained step by step.

10 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.