This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So I'm trying to do a project (non-profit), and I can show you what I've got so far if you need it, but basically I'm trying to do this and need help:
Say I have a table like this
String1 String2 String3 String4
0 The dog is barking.
1 The cat is meowing.
2 The bird is chirping.
So I'm trying to perform the following equation on each row (sentence): (number of letters)(product of letters)/(number of words)(product of words)
Now I can probably do the math part myself, but I'm having major problems. I was able to split the strings into characters and return their numerical value sums in a for loop, but I don't know where to go from there. Any help would be greatly appreciated!
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnpython...