could someone please help me in forming a loop as i am stuck...
def numbergen():
randomnumber = random.randint(0,100)
print randomnumber
def main():
Question = float(raw_input("Do you wish to play the Guess a Number Game?(Y/N)"))
for Question:
if Question == N:
break
else:
print "randomnumber"
main()