Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

1
Trying to convert strings into numbers and then perform calculation
Post Body

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!

Author
Account Strength
90%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
2,182
Link Karma
1,517
Comment Karma
564
Profile updated: 13 hours ago
Posts updated: 5 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago