⌘K
Flycodx

Decode EV Station Location Codes

Decode EV Station Location Codes

EasyStrings0% accepted

Bangalore's EV charging network uses compressed location codes where vowels are replaced with digits (A=1, E=2, I=3, O=4, U=5). Ravi needs to decode these codes to retrieve the original station names from the database.

Approach

Given an encoded string with vowels as digits (A=1, E=2, I=3, O=4, U=5), decode and return the original string.

Input

P4W2R

Output

POWER
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