给定一个英文单词，使用Python代码计算出该单词的元音字母和辅音字母的个数。
word = "python"
```python
word = "python"

vowels = 0
consonants = 0

for letter in word:
    if letter.lower() in "aeiou":
        vowels += 1
    else:
        consonants += 1

print("Number of vowels: ", vowels)
print("Number of consonants: ", consonants)
```