Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Python Competency Test – Medium Level

Useful for hiring

  • Junior level Python Programmer
  • Senior level Python Programmer

Start hiring job-fit candidates using this assessment


"We are impressed with Interview Mocha's comprehensive IT skill test batteries and their ability to provide tailor-made assessments quickly. The results we got from Interview Mocha exceeded our expectations, employees found the tests quick, fun, and a benchmark of their knowledge."

Ajay Garg, Siemens,
Associate Manager

You need to scan input two numbers X and Y from the keyboard and print the Count of total palindrome numbers Z between X and (including X and Y).

Example of Palindrome Number
Palindromes: 5, 121, 11, 11411 
Not Palindromes: 122, 10

Input Foramt

Input X number
Input Y number

Output Format

Print Z

Sample Input

10   --  value of X
13   --  value of Y

Sample Output

1   --  value of Z


Test details:

This medium level test for testing Python skills enables employers to identify & hire Python programmers by evaluating working skills and job readiness. For this reason, the emphasis is on evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge. Python developer test can be taken by candidates from anywhere in the comfort of their time zone.

Questions : 2
Duration : 60 minutes

  • Python Coding : The test contains 2 medium level coding question on Python to check programming skills of a candidate.

Test description:

Python Competency Test helps Recruiters and Hiring managers to analyze the moderate level Python coding skills of candidates before an interview to hire as Python developers. Python is high level, general purpose and dynamic programming language. It is processed at the run time by the interpreter and it supports multiple programming paradigms. Python has automatic memory management system with large comprehensive standard library. This Python screening test is specially designed to check application, practical skills of candidate to hire for as Python Programmers/developers – as per Industry Standards.
The best way to evaluate a programmer for a job is to give him a coding test. The candidate has to write a code which uses the concepts of Python and Error handling to solve the real world problems. This moderate level online Python competency test provides you set of quality questions that you can use to assess & hire Python developers.
Python online screening test (Medium Level) is designed & validated by our experienced subject matter experts (SME)s. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates