Check if it is a vowel(a, e, i, o, u,) on the ```n``` position in a string (the first argument). Don't forget about uppercase.

A few cases:

```
{
checkVowel('cat', 1)  ->   true // 'a' is a vowel
checkVowel('cat', 0)  ->   false // 'c' is not a vowel
checkVowel('cat', 4)  ->   false // this position doesn't exist
}
```
P.S. If n < 0, return false

Difficulty: introductory

Starter code:

def check_vowel(string, position):
	

Solutions:
def check_vowel(s,i):
    return 0 <= i < len(s) and s[i] in "aieouAEIOU"

def check_vowel(string, position):
    return  0 <= position < len(string) and string[position].lower() in "aeiou"

def check_vowel(string, position):
    if position < 0:
      return False
    try:
      return string[position].lower() in ['a', 'e', 'i', 'o', 'u']
    except IndexError:
      return False


def check_vowel(s, pos):
    return 0 <= pos < len(s) and s.lower()[pos] in "aeiou"

def check_vowel(string, position):
    return 0 <= position <= len(string) and string[position] in 'aeiouAEIOU'

def check_vowel(stg, position):
    return 0 <= position < len(stg) and stg[position].lower() in "aeiou"

def check_vowel(s, i):
    return s[i].lower() in 'aeiou' if len(s) > i > -1 else False

def check_vowel(string, position):
    string = string + '             '
    vowles = ['a', 'e', 'i', 'o', 'u','A', 'E', 'I', 'O', 'U']
    if string[position] in vowles:
        return True
    else:
        return False


def check_vowel(string, position):
    if position <0 or position >len(string): return False
    return string[position].lower() in "aeiou"

def check_vowel(s,t):
    if t==0 and s[t] in 'aioueAEIOU':
        return True
    return True if t>0  and t<len(s) and s[t] in 'aioueAEIOU'  else False
    pass