I have a set of questions here that I need to randomly select for the user and if the user loses a waiting time is required
decades = 100
ans = 0
ans = int (input ("halves of 40 =  "))
if ans == 20:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 10 =  "))
if ans == 5:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 90 =  "))
if ans == 45:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 20 =  "))
if ans == 10:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 80 =  "))
if ans == 40:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 30 =  "))
if ans == 15:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 100 =  "))
if ans == 50:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 60 =  "))
if ans == 30:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 50 =  "))
if ans == 25:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
ans = int (input ("halves of 70 =  "))
if ans == 35:
    print ans, " is a right ans good job!"
else:
    print ans, "is a Wrong ans best of luck for next quation."
 
     
    