Sign InCreate Account

Upgrade to Pro

Upgrade Now

Coding Workspace

EditorProjectsPractice QuestionsTimed Mock ExamsFlowcharts

PseudoEditor AI

Pseudocode TutorCode GeneratorCode FixerCode Converter
Back to Problems
PreviousNext

Sign in to run tests against edge cases and save your code automatically.

Problem Description

Easy

Username Length Check

PROValidation & Checks
Length Check
Strings

A website requires usernames to be between 4 and 12 characters long (inclusive). Write a program that inputs a username and outputs: - `Too short` if it has fewer than 4 characters - `Too long` if it has more than 12 characters - `Valid` otherwise

Example Input

bob

Example Output

Too short

Success Rate:

0% (0 passed / 0 attempted)

Code

Draft auto-saved

Test Results

Click "Test Code" to evaluate your code against the tests.

Product

For SchoolsOverviewFeaturesFAQ
PseudoEditor

© 2026 PseudoEditor. All rights reserved.