Python use
>>> x = 3;#define x
Python do not have multilines blocking functions such as
def cm2inch(h):assert (h>=0), "height must be positive";return (h*0.3937);"""Before convert centimeter to inch, confirm the input value is positive""" '''Before convert centimeter to inch, confirm the input value is positive'''