Let’s try to ‘recreate’ the error in the Ariane 5 computersystem.
Write a Python code, which takes a binary64 number provided bythe user (taken as an input) and converts it to a 16-bit signedinteger. If the code is correct, you should induce an integeroverflow error, similar to what happened in the Ariane 5 disaster,in your code.
Here’s an example of what the output of your code should looklike:-

Problem:
PayPal Gateway not configured
PayPal Gateway not configured