Code is executed with Pyodide, a port of CPython to WebAssembly/Emscripten. Some functionality in Python may not be available or may not work as expected.
# Fix the error in the code below
fruits = ["mango", "banana", "guava"]
fruits.append("pear")
print(fruits)
Click Run or press shift + ENTER to see the output below.