I made a small program that is designed to generate a random number between 0 and 1, and based on what it is print out a statement (In this case "Missed", "1 point" or "3 points") as well as the number that was actually made. The program generates the numbers fine, but I can't get it to print out the statements, is there something I overlooked here?
def zeroG():
from random import *
n=random()
#print n
if(0>=n>0.3):
print("miss")
elif(0.3>=n>0.7):
print("1 point")
elif(0.7>=n>=1):
print("3 points")
print n
random.random, justfrom random import random.