repl.it
@MatthewWellingt/

vowel list

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
#  vowels  list
vowels = ('a', 'e', 'i', 'o', 'u')

# index of 'e'
index = vowels.index('e')
print('The index of e: ,'index)

# index of the first 'i'
index = vowels.index('i')
print('The index of i:', index)
?