The Python online test assesses candidates' knowledge of programming in the Python language and understanding of its native data structures.

It's an ideal test for pre-employment screening. A good Python developer needs to be able not only to solve problems using Python as the programming language but also be familiar with Python native data structures and language constructs.

This online test requires candidates to solve coding problems in Python as well as to find and fix bugs in a Python program.

Recommended Job Roles
Back-End Developer
Python Developer
Web Developer
Sample Candidate Report

Sample Free Questions

File Owners

10min
  -  
Easy  
  -  
CODE

Python Language Public

Implement a group_by_owners function that:

  • Accepts a dictionary containing the file owner name for each file name.
  • Returns a dictionary containing a list of file names for each owner name, in any order.

For example, for dictionary {'Input.txt': 'Randy', 'Code.py': 'Stan', 'Output.txt': 'Randy'} the group_by_owners function should return {'Randy': ['Input.txt', 'Output.txt'], 'Stan': ['Code.py']}.

Merge Names

10min
  -  
Easy  
  -  
CODE

Python List Public

Implement the unique_names method. When passed two lists of names, it will return a list containing the names that appear in either or both lists. The returned list should have no duplicates.

For example, calling unique_names(['Ava', 'Emma', 'Olivia'], ['Olivia', 'Sophia', 'Emma']) should return a list containing Ava, Emma, Olivia, and Sophia in any order.

Palindrome

10min
  -  
Easy  
  -  
CODE

Python Strings Public

A palindrome is a word that reads the same backward or forward.

Write a function that checks if a given word is a palindrome. Character case should be ignored.

For example, is_palindrome("Deleveled") should return True as character case should be ignored, resulting in "deleveled", which is a palindrome since it reads the same backward and forward.

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Questions
Document Store, Category Tree, Crop Ratio, Programmer Teacher, Greeter, Chain Link, Is Alpha, Log Parser, Medical Record, Needle, Numbers to Text, Paragraph, Products, Username, Word Count, Date Transform, Entry, Unique Numbers, Max Sum, Hobbies, Tuple Slice, Reward Points, Shipping, Rare, Moving Total, Read First Line, Read Write Execute, Log Patch, Segment, Cargo Ship
Skills
Python Bug fixing Language Data structures OOP List comprehension Strings Serialization Collections Stream Sorting Algorithmic thinking Searching Iteration List Arithmetic Exceptions Monkey patching
Score Distribution
Loading...
Pricing For Premium Questions