ps1: I am absolutely, utterly, totally lost... Please just provide hints and not answers. I had trouble learning Java too.
import math
x = raw_input("Please enter a number ")
def prime(x):
if x < 2:
return False
if x%2 == 0:
return False
if x%3 == 0:
return False
if x%5 == 0:
return False
else:
return True
prime (x+2)

Hey! We 've verified this expert answer for you, click below to unlock the details :)

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

I've looked at other's answers and it all seems so complicated. Any additional reading to suggest?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

Looking for something else?

Not the answer you are looking for? Search for more explanations.