update to account for negatives/non-integers - Q1

I hope this was ok to do - I am very passionate about learning code, so I wanted to do this maybe in the hopes of perhaps receiving short feedback.