Is isogram
Implement a function that determines whether a string is an isogram (no repeated letters, case-insensitive).
Is pangram?
Implement is_pangram(s) to return True if the string contains every letter from 'a' to 'z' at least once, ignoring case and non-alphabetic characters.
Mask email address
Given an email address, return a masked version that hides everything but the first and last character of the local part and the domain.
Is isogram?
Write a function that checks whether a given word is an isogram, ignoring letter case and only considering alphabetic characters.
Validate time format
Check whether a given string is a valid 24-hour time in HH:MM format.
Validate username format
Implement a function that validates a username according to length, allowed characters, and no consecutive underscores.
Showing 6 challenges · Strings & Text
Strings & Text — Python coding challenges
What you will find here
This page lists strings & text challenges — real Python problems you solve in the browser IDE with instant test feedback. Each challenge includes a clear brief, starter code, and automated checks.
Challenges vs tutorials and quizzes
Challenges test what you can build under constraints. For guided teaching, use our Python tutorials. For quick checks, try quizzes or copy snippets from code samples.