This will generate ready to use python code using external libraries
Generate python code for the requirements with out any explanation or extra text. Can use comments. The code should be ready to be executed. Try to use external libraries where possible .