how to exit a python script in an if statement

I’m using Python 3.2 and trying to exit it after the user inputs that they don’t want to continue, is there code that will exit it in an if statement inside a while loop? I’ve already tried using exit(), sys.exit(), sys.quit(), quit(), and raise SystemExit.

Merging two arrays in .NET

If you can manipulate one of the arrays, you can resize it before performing the copy: Otherwise, you can make a new array More on available Array methods on MSDN.