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.

2
Help pset 4 Sepia
Post Body

Hi everyone.

Here is my function for sepia. It works perfectly but I feel it can be optimized.

Any suggestions on how to make it "prettier"?

https://preview.redd.it/h671k3fhvyz41.png?width=633&format=png&auto=webp&s=1db53e4f5c740b2dab285975c1ef590f7491367d

Comments

Hi! For mine, I checked that values were under 255 by putting the sepia values into an array, and looping through that. That could tighten up the repeated if statements you've got going there.

Hope that's helpful!

Author
Account Strength
60%
Account Age
5 years
Verified Email
No
Verified Flair
No
Total Karma
3,313
Link Karma
2,831
Comment Karma
447
Profile updated: 2 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