Skip to the content.

code_cells

Code Cells

This page is for my coding notebooks. You can find a python shell and a javascript cell below:

from emoji import emojize 

print("Hello!")
print("This is a python shell")

name = input("please enter your name: ")

print(f"Welcome to the page, {name}")

print(emojize(":thumbs_up: Python is awesome! :grinning_face:"))

Hello!
This is a python shell
Welcome to the page, arnav
👍 Python is awesome! 😀
from IPython.display import display, Javascript

# Define the JavaScript code
js_code = """
alert("Hello, world!");
"""

# Run the JavaScript code
display(Javascript(js_code))

<IPython.core.display.Javascript object>