Kindly use textArea() so that you can fetch the code and later on, it will automatically convert the code to jDoodle readable format. For your program, kindly use the below code:
script :"print('hello\r\nworld')",
Want to be a Python expert? Join this Python Training course by Intellipaat to learn more.