⌘K
Flycodx

Validate NSDC Certificate Code

Validate NSDC Certificate Code

EasyStrings0% accepted

Arjun manages NSDC skill certificates in Delhi. Each valid certificate follows the pattern: 2 uppercase letters, 4 digits, 1 uppercase letter (e.g., AB1234C). Validate if the given string matches this exact format.

Approach

Given a certificate code string, validate if it matches the NSDC format of exactly 2 letters, 4 digits, and 1 letter.

Input

AB1234C

Output

Valid
solution.py
Loading editor...
Test 1
Test 2
Test 3

Press Run to test your custom input, or Submit to judge against all test cases.

Sign in to continue

Create a free account to run code, submit solutions and track progress.

  • Free forever — no credit card
  • 10+ languages with live execution
  • Points, streaks & leaderboards
Auto Save OnLn 1, Col 1Spaces: 4UTF-8LFPython 3