给定一个英文句子，使用Python编写一个程序来计算句子中每个字母的出现次数。


一个英文句子，例如：“The quick brown fox jumps over the lazy dog.”
以下是Python中计算英文句子中每个字母出现次数的程序：

```python
sentence = "The quick brown fox jumps over the lazy dog."

# 移除空格和句号
sentence = sentence.replace(" ", "").replace(".", "")

# 创建一个空字典用于存储每个字母的出现次数
letter_counts = {}

# 遍历每个字母并计算出现次数
for letter in sentence:
    if letter in letter_counts:
        letter_counts[letter] += 1
    else:
        letter_counts[letter] = 1

# 打印每个字母的出现次数
for letter,count in letter_counts.items():
    print(letter, count)
```

输出：

```
T 1
h 2
e 3
q 1
u 2
i 1
c 1
k 1
b 1
r 2
o 4
w 1
n 1
f 1
x 1
j 1
m 1
p 1
s 1
v 1
t 1
l 1
a 1
z 1
y 1
d 1
g 1
```