Share your repls and programming experiences

← Back to all posts
Prime number finder
h
HarryPengRHS (11)

This program is exactly what it sounds like, it will determine if the number you entered is a prime number.
I found this very handy when I do things like long divisions.

Comments
hotnewtop
LizFoster (640)

Good Job! I can see where it would come in handy for long division. I think I'll make a python version of this, actually.

HarryPengRHS (11)

@LizFoster not to mention the fact that I don’t know python (oof)

LizFoster (640)

@HarryPengRHS Ha ha! if you want, you should learn it at some point, it's quite fun. Likewise, I do not know a single bit of Java _ _ (by the way my python version is here if you are interested: https://repl.it/@LizFoster/Prime-Number-Checker)

HarryPengRHS (11)

@LizFoster Cool! I’m actually trying to learn Python right now. Any suggestions for where I can learn it?

LizFoster (640)

@HarryPengRHS Well, the way I've learned it so far is in school, on a website called codeHS (codehs.com), although I believe it's a fairly expensive set of courses, and it doesn't explain things in greater detail than the very basics. You could try to puzzle through https://docs.python.org/3/ , but I think that you'll find that YouTube is a perfectly fine (maybe even preferable) place to learn this stuff. Also, if you'd like, I can walk you through something if you'd like (but it's perfectly fine if you don't want my help on this, I'm not sure how you learn best, ha ha).