Algorithm of division in Python

<<algorithm

alg div en

 

x = float(input('x = '))
y = float(input('y = '))
if y == 0:
    print('Can not divide by 0')
else:
    z = x / y
    print('z =',z)