When they say yes or exit (i did not put it on yet) but then how could i break a while becasue it has a while at the start
(while a how could i make it by the continue that it just restarts that segment not the whole thing?

I'm not sure if I understand exactly what you need but heres a code that will exit your program without any problems.

import sys
sys.exit(1)

Obviously sys.exit closes out the program. I think if you have while 1==1: then doing sys.exit(1) will close the program. If you don't have while 1==1: at the top of your program just do sys.exit().
Also, I've noticed that in all your posts your messages make almost no sense whatsoever. Try typing in complete and understandable sentences.

Whoa, wait just a minute. You don't need sys.exit, just make your program so it doesn't carry on running.

1) Assigning so many many variables must have taken you ages. It's terribly dull to do, error prone, and hard to read - stop right there and learn about loops and functions. Go on, it will only take you a few minutes.

2) The program structure is contorted and difficult to follow.

Code:

while 1:
fib = raw_input(...)
if fib not in [...]: continue
if fib == "fib":
...
a = raw_input(...)
if a not in ["yes"]: continue
...

It says "press yes to continue", but only continues if they don't press yes(!).