Write a Latex formula in the legend of a plot using Matplotlib
import matplotlib.pyplot as plt
ax = plt.gca() # or any other way to get an axis object
x = [0,1,2,3,4,5,6]
y = [0,1,4,9,16,25,36]
ax.plot(x, y, label=r'$\sin (x)$')
ax.legend()

import matplotlib.pyplot as plt
ax = plt.gca() # or any other way to get an axis object
x = [0,1,2,3,4,5,6]
y = [0,1,4,9,16,25,36]
ax.plot(x, y, label=r'$\sin (x)$')
ax.legend()
This is Hotel management System App in python using python shell

Welcome message:
****************************************
WELCOME QWERTY TO HOTEL
****************************************
The Python Standard Library, an electronically published book by Fredrik Lundh, examines most of the modules in Python's standard library, describing what the module does and giving a short example of its use.
The Python Cookbook, from ActiveState, is a very large collection of code snippets, some elementary and some advanced.