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.

6
sentimental-cash PSET6 need help
Post Flair (click to view more posts with a particular flair)
Post Body

my code runs perfectly with whole numbers as input, but when i input actual floats i get stuck in the while loop (line 7). i used debug50 and found out that the third subtraction i do to "change" my number goes crazy and (for example) i get 0.71 - 0.25 = 0.4599999..... how do i fix this? do i have to change my whole code?

https://preview.redd.it/mzajqcovcj8b1.png?width=1600&format=png&auto=webp&s=3f6c6f586c3c9c14e57d8a4d38450d961449f115

Author
Account Strength
80%
Account Age
7 years
Verified Email
No
Verified Flair
No
Total Karma
6,705
Link Karma
4,585
Comment Karma
1,974
Profile updated: 3 days ago
Posts updated: 5 months 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
1 year ago