统计《I have a dream》中26个英文字母的频率

 

#统计《I have a dream》中26个英文字母的频率
text='''I am happy to join with you today in what will go down in history as the greatest demonstration for freedom in the history of our nation.Five score years ago, a great American, in whose symbolic shadow we stand today, signed the Emancipation Proclamation This momentous decree came as a great beacon light of hope to millions o Negro slaves,who had been seared in the flames of withering injustice. It came as a joyous daybreak to end the long night of their captivity.But one hundred years later,the Negro still is not free. One hundred years later, the life of the Negro is still sadly crippled by the manacles of segregation and the chains of discrimination.One hundred years later,the Negro lives on a lonely island of poverty in the midst of a vast ocean of material prosperity.One hundred years later,the Negro is still languished in the corners of American society and finds himself an e-ile in his own land.And so we've e here today to dramatize a shameful condition. In a sense we have e to our nation"s capital to cash a check. When the architects of our republic wrote the magnificent words of the Constitution and the Declaration of Independence,they were signing a promissory note to which every American was to fall heir.This note was a promise that all men, yes, black men as well as white men, would be guaranteed the unalienable rights of life, liberty,and the pursuit of happiness. It is obvious today that America has defaulted on this promissory note,insofar as her citizens of color are concerned. Instead of honoring this sacred obligation, America has given the Negro people a bad check, a check which has e backmarked“insufficient funds.” But we refuse to believe that the bank of justice is bankrupt.We refuse to believe that there are insufficient funds in the great vaults of opportunity of this nation. And so we have e to cash this check, a check that will give us upon demand the riches of freedom and the security of justice. We have also e to this
hallowed spot to remind America of the fierce urgency of Now.This is no time to engage in the luury of cooling off or to take the tranquilizing drug of
gradualism.Now is the time to make real the promises of democracy. Now is the time to rise from the dark and desolate valley of segregation to the sunlit path of racial justice. Now is the time to lift our nation from the quicksands of racial injustice to the solid rock of brotherhood. Now is the time to make justice a reality for all of'''
for amino_acid in "abcdefghijklmnopqrstuvwxyz":
    nnumber=text.count(amino_acid)
    print(amino_acid,number)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值