Character at Position

Medium

📝 Description

Get the character at a specific position in a string

Input Format

String and integer position

Output Format

Character at given position

Constraints

0 ≤ position < string.length ≤ 100

🔍 Sample Input

"Hello"
1
            

✅ Sample Output

"e"
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run