How do I count the amount of 'edges' in a word in Python, using a dictionary?

前端 未结 0 1146
渐次进展
渐次进展 2020-11-28 20:11

For this exercise I need to count the \'number of edges\' in the word \'AARDGASRESERVES\' (Dutch), using a for loop and a dictionary. I already have the following code, but

相关标签:
回答
  • 消灭零回复
提交回复
热议问题